blob: ff173b50020ee36bb8cd0cc7df713177966ca3db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import TestTypes
Person {
id: self
property Person other: Person { id: oo }
barzles: oo.barzles
cousins: oo.cousins
property int l: oo.barzles.length
property int m: oo.cousins.length
property list<Person> others: cousins
property Person mom: Person {
id: mm
cousins: self.others
}
property list<Person> momsCousins: mm.cousins
property Person dad: Person {
id: dd
cousins: oo
}
property list<Person> dadsCousins: dd.cousins
}
|