update tests: jvmName --> JvmName
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
@file:jvmName("Foo")
|
||||
@file:JvmName("Foo")
|
||||
package test
|
||||
|
||||
public fun foo() {}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
compiler/testData/cli/jvm/classAndFileClassClash.kt:1:1: error: duplicate JVM class name 'test/Foo' generated from: package-fragment test, Foo
|
||||
@file:jvmName("Foo")
|
||||
@file:JvmName("Foo")
|
||||
^
|
||||
compiler/testData/cli/jvm/classAndFileClassClash.kt:6:1: error: duplicate JVM class name 'test/Foo' generated from: package-fragment test, Foo
|
||||
class Foo {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
compiler/testData/cli/jvm/classAndOtherFileClassClash1.kt:1:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, package-fragment test
|
||||
@file:jvmName("Foo")
|
||||
@file:JvmName("Foo")
|
||||
^
|
||||
compiler/testData/cli/jvm/classAndOtherFileClassClash2.kt:3:1: error: duplicate JVM class name 'test/Foo' generated from: Foo, package-fragment test
|
||||
class Foo
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@file:jvmName("Foo")
|
||||
@file:JvmName("Foo")
|
||||
package test
|
||||
|
||||
public fun foo() {}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@file:jvmName("TestPackage")
|
||||
@file:JvmName("TestPackage")
|
||||
package test
|
||||
|
||||
fun foo() {}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
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")
|
||||
@file:JvmName("TestPackage")
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@file:jvmName("XXX\$\$TImpl")
|
||||
@file:JvmName("XXX\$\$TImpl")
|
||||
package test
|
||||
|
||||
interface XXX
|
||||
@@ -1,7 +1,7 @@
|
||||
compiler/testData/cli/jvm/fileClassClashMultipleFiles1.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: package-fragment test, package-fragment test
|
||||
@file:jvmName("Util")
|
||||
@file:JvmName("Util")
|
||||
^
|
||||
compiler/testData/cli/jvm/fileClassClashMultipleFiles2.kt:1:1: error: duplicate JVM class name 'test/Util' generated from: package-fragment test, package-fragment test
|
||||
@file:jvmName("Util")
|
||||
@file:JvmName("Util")
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
@@ -1,4 +1,4 @@
|
||||
@file:jvmName("Util")
|
||||
@file:JvmName("Util")
|
||||
package test
|
||||
|
||||
public fun foo() {}
|
||||
@@ -1,4 +1,4 @@
|
||||
@file:jvmName("Util")
|
||||
@file:JvmName("Util")
|
||||
package test
|
||||
|
||||
public fun bar() {}
|
||||
Reference in New Issue
Block a user