Fix AssertionError on property generation in multi-file classes

See 4a533168d9 for the original change which
introduced the problem

Note that the added test case _was not failing_ before the change. It's added
because there were no tests on multi-file class behavior in light classes mode
at all. The actual repro for the problem is difficult to make a test from

 #KT-12755 Fixed
This commit is contained in:
Alexander Udalov
2016-07-04 10:47:31 +03:00
parent 80deebbc2a
commit 24682bf1ec
6 changed files with 35 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
public final class MultiFile {
public static final int getFoo() { /* compiled code */ }
}