Add @JvmInline annotation in common code if JVM target is present
#KTIJ-8863 Fixed #KT-46088 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
00bc04b3df
commit
f5379c5a04
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'value'" "true"
|
||||
|
||||
<caret>inline class IC1(val i: Int)
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Replace with 'value'" "true"
|
||||
|
||||
value class IC1(val i: Int)
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Replace with '@JvmInline value'" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
<caret>inline class IC(val i: Int)
|
||||
@@ -0,0 +1,5 @@
|
||||
// "Replace with '@JvmInline value'" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
@kotlin.jvm.JvmInline
|
||||
value class IC(val i: Int)
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Replace with '@JvmInline value'" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
<caret>inline class IC(val i: Int)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// "Replace with '@JvmInline value'" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
@kotlin.jvm.JvmInline
|
||||
value class IC(val i: Int)
|
||||
Reference in New Issue
Block a user