fix one test, break another
svn: r14581
This commit is contained in:
parent
ec615d4882
commit
2bd98fbdb2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user