All Downloads are FREE. Search and download functionalities are using the official Maven repository.

defs.main-tests.source.idltest.anyvals.domain Maven / Gradle / Ivy

The newest version!
domain idltest.anyvals

id RecordId {
  value: uid
}

mixin WithRecordId {
  id: RecordId
}

mixin UserData {
  id: WithRecordId
}


//
data SimpleAnyValRecord {
  _: str
}


// ANYVAL:ERASURE: primary test case
data Test00Data1AnyVal {
  _: str
}

data Test00Data2AnyVal {
  + Test00Data1AnyVal
  someInt: i08
}


//
mixin Test01MixinAnyVal {
  _: str
}

data Test01DataAnyVal1 {
  & Test01MixinAnyVal
  someInt: i08
}

data Test01DataAnyVal2 {
  + Test01MixinAnyVal
  someInt: i08
}

//
data Test02DtoAnyVal {
  _: str
}

data Test02UserAnyVal {
  _: Test02DtoAnyVal
  _: i08
}

// direct cyclic usage is disabled
// https://github.com/7mind/izumi/issues/334
/*
data Cyclic00 {
  _: Cyclic00
}

data Cyclic01 {
  _: Cyclic02
}

mixin Cyclic02 {
  _: Cyclic01
}
*/





© 2015 - 2025 Weber Informatics LLC | Privacy Policy