Drop package facades: update compiler tests.

This commit is contained in:
Dmitry Petrov
2015-10-14 14:17:43 +03:00
parent 3502c393fc
commit e7fb7483c5
89 changed files with 167 additions and 192 deletions
+1 -4
View File
@@ -1,4 +1 @@
compiler/testData/cli/jvm/classAndFacadeClash.kt:3:1: error: duplicate JVM class name 'test/TestPackage' generated from: package-fragment test, TestPackage
class TestPackage {
^
COMPILATION_ERROR
OK
+1 -4
View File
@@ -1,4 +1 @@
compiler/testData/cli/jvm/fileClassAndFacadeClash.kt:1:1: error: duplicate JVM class name 'test/TestPackage' generated from: package-fragment test, package-fragment test
@file:JvmName("TestPackage")
^
COMPILATION_ERROR
OK
+2 -2
View File
@@ -14,13 +14,13 @@ compiler/testData/cli/jvm/signatureClash.kt:9:5: error: platform declaration cla
val a: Int = 1
^
compiler/testData/cli/jvm/signatureClash.kt:12:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
fun <get-b>(): kotlin.Int
fun getB(): kotlin.Int
fun <get-b>(): kotlin.Int
fun getB(): Int = 1
^
compiler/testData/cli/jvm/signatureClash.kt:13:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
fun <get-b>(): kotlin.Int
fun getB(): kotlin.Int
fun <get-b>(): kotlin.Int
val b: Int = 1
^
compiler/testData/cli/jvm/signatureClash.kt:19:7: error: platform declaration clash: The following declarations have the same JVM signature (getTr()I):