changed resolution order: first priority is 'local extensions; members; nonlocal extensions', than by implicit receivers (before was vice versa)

This commit is contained in:
Svetlana Isakova
2012-04-17 14:05:38 +04:00
parent 6ac4169003
commit 4d62fbad2b
4 changed files with 169 additions and 46 deletions
@@ -312,4 +312,8 @@ public class ClassGenTest extends CodegenTestCase {
blackBoxFile("regressions/kt1538.kt");
System.out.println(generateToText());
}
public void testResolveOrder() throws Exception {
blackBoxFile("classes/resolveOrder.jet");
}
}