Generate "$kotlinClass"/"$kotlinPackage" reflection fields to every class

Some seemingly irrelevant tests were changed because now there's <clinit> in
almost every class and class initialization begins with executing it
This commit is contained in:
Alexander Udalov
2014-05-20 20:20:53 +04:00
parent 4ef089d2ed
commit 59777e7df6
17 changed files with 99 additions and 41 deletions
@@ -18,4 +18,4 @@ class B {
}
// 0 INVOKEVIRTUAL
// 4 INVOKESPECIAL
// 2 INVOKESPECIAL [AB]\.
@@ -13,4 +13,4 @@ fun box(): String {
}
// 0 INVOKEVIRTUAL
// 3 INVOKESPECIAL
// 2 INVOKESPECIAL B\.foo