fix one test, break another

svn: r14581
This commit is contained in:
Jon Rafkind 2009-04-21 23:49:34 +00:00
parent ec615d4882
commit 2bd98fbdb2

View File

@ -29,12 +29,14 @@ obj test2(){
obj x(){
2;
}
x;
}
(-> obj) x2(){
obj x(){
3;
}
x;
}
/*
@ -43,10 +45,12 @@ obj test2(){
};
*/
var anonymous_foo = x2();
var anonymous_foo = x1();
var x2_x = x2();
test("foo() = 1", foo(), 1);
test("anonymous_foo = 2", anonymous_foo(), 2);
test("x2_x = 3", x2_x(), 3);
}
test1();