Add failing unit test for dynamic object attributes with the same name
This commit is contained in:
parent
d9727973c1
commit
70db5d67ff
9
unittests/object_attr_same_name.chai
Normal file
9
unittests/object_attr_same_name.chai
Normal file
@ -0,0 +1,9 @@
|
||||
attr bob::z
|
||||
def bob::bob() { this.z = 10 }
|
||||
|
||||
attr bob2::z
|
||||
def bob2::bob2() { this.z = 12 }
|
||||
|
||||
var b = bob();
|
||||
var b2 = bob2();
|
||||
|
Loading…
x
Reference in New Issue
Block a user