Testing of memberscope so we can close #91

This commit is contained in:
Jason Turner 2010-03-09 01:39:54 +00:00
parent faaa964565
commit 856b682e72
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
attr Vector3::x
attr Vector3::y
attr Vector3::z
def Vector3::Vector3(x, y, z) {
this.x = x
this.y = y
this.z = z
}
var v = Vector3(1,2,3);
print(v.x);

View File

@ -0,0 +1 @@
1