K2: add inline JVM target version checker
#KT-60777 Fixed
This commit is contained in:
committed by
Space Team
parent
d475371394
commit
3bb2ea10b6
+9
@@ -13,6 +13,9 @@ fun baz() {
|
||||
allInline
|
||||
allInline = 1
|
||||
|
||||
inlineProperty
|
||||
inlineProperty = 1
|
||||
|
||||
val base = Base()
|
||||
base.inlineFunBase {}
|
||||
base.inlineGetterBase
|
||||
@@ -23,6 +26,9 @@ fun baz() {
|
||||
|
||||
base.allInlineBase
|
||||
base.allInlineBase = 1
|
||||
|
||||
base.inlinePropertyBase
|
||||
base.inlinePropertyBase = 1
|
||||
}
|
||||
|
||||
|
||||
@@ -38,5 +44,8 @@ class Derived : Base() {
|
||||
|
||||
allInlineBase
|
||||
allInlineBase = 1
|
||||
|
||||
inlinePropertyBase
|
||||
inlinePropertyBase = 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user