blob: 4cbb464f59384aa00fb2dc144c79e5924bef1870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class A:
enum { X = 1 }
class B:
enum { X = 2 }
class C:
const X = 3
class D:
enum { X = 4 }
func test():
print(A.X)
print(A.B.X)
print(C.X)
print(C.D.X)
|