- Kotlin/JS still uses package facades.
Handle them properly in StubClassBuilder parentStack.
- Generate backend-related diagnostics in IDE
using light class generation for file facades.
- Drop PackageFacadeStubCache.
This commit is contained in:
Dmitry Petrov
2015-10-26 17:07:45 +03:00
parent 4fcd35a5a9
commit 09f0b3fe87
10 changed files with 48 additions and 124 deletions
@@ -0,0 +1,13 @@
@file:JvmName("TopLevelMultifile")
@file:JvmMultifileClass
package test
import kotlin.jvm.JvmName
import kotlin.jvm.JvmMultifileClass
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): kotlin.Int
fun getX(): kotlin.Int">val x</error> = 1
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): kotlin.Int
fun getX(): kotlin.Int">fun getX()</error> = 1