JVM, JVM IR: report error if not all parts of multifile class are @JvmSynthetic

#KT-41884 Fixed
This commit is contained in:
Alexander Udalov
2021-03-10 22:03:34 +01:00
parent 75850a618c
commit bc5fc122c5
12 changed files with 163 additions and 1 deletions
@@ -0,0 +1,18 @@
// WITH_RUNTIME
// FILE: f.kt
@file:JvmName("Foo")
@file:JvmMultifileClass
@file:JvmSynthetic
package test
fun f() {}
// FILE: g.kt
@file:JvmName("Foo")
@file:JvmMultifileClass
@file:JvmSynthetic
package test
val g = ""