K2: add inline JVM target version checker

#KT-60777 Fixed
This commit is contained in:
Alexander Udalov
2024-02-28 15:55:34 +01:00
committed by Space Team
parent d475371394
commit 3bb2ea10b6
19 changed files with 260 additions and 16 deletions
@@ -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
}
}