mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Move .java and .kotlin extension properties to kotlin.jvm
Delete the old ones in package kotlin.reflect.jvm because otherwise the code using those functions will become red in a lot less meaningful way (overload resolution ambiguity) than if they're deleted (unresolved import) Based on the work originally done by @dnpetrov #KT-8380 Fixed
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import kotlin.reflect.jvm.java
|
||||
|
||||
class Klass
|
||||
|
||||
fun foo() {
|
||||
@@ -12,5 +10,5 @@ fun foo() {
|
||||
|
||||
// 2 LDC LKlass;.class
|
||||
// 1 GETSTATIC java/lang/Integer.TYPE : Ljava/lang/Class;
|
||||
// 1 INVOKESTATIC kotlin/reflect/jvm.*\.getJava
|
||||
// 1 INVOKESTATIC kotlin/jvm.*\.getJava
|
||||
// 1 LDC Ljava/lang/Integer;.class
|
||||
|
||||
Reference in New Issue
Block a user