Got the new scoping working! Still some odd stuff happening to certian templates, and I think vector is having problems with new/traits. Really need to get canonnical filenames and what not worked out
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
|
||||
import io;
|
||||
|
||||
typedef FirstObject {
|
||||
|int| objectNum;
|
||||
|void| PrintSelf(|int| a) {
|
||||
print(objectNum);
|
||||
print(a);
|
||||
io::print(objectNum);
|
||||
io::print(a);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -13,6 +12,6 @@ typedef FirstObject {
|
||||
|FirstObject| wooObject;
|
||||
wooObject.objectNum = 5;
|
||||
wooObject.PrintSelf(7);
|
||||
print("\n");
|
||||
io::print("\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user