IC IDE: Add intention to add @JvmInline annotation to value class on JVM

#KTIJ-5663 Fixed
This commit is contained in:
Ilmir Usmanov
2021-03-22 17:29:12 +01:00
parent ea01c97a8e
commit 823d2d0748
7 changed files with 90 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.intentions.AddJvmInlineIntention
+6
View File
@@ -0,0 +1,6 @@
// WITH_RUNTIME
// ERROR: Value classes without @JvmInline annotation are not supported yet
// SKIP_ERRORS_AFTER
<caret>value class VC(val i: Int)
@@ -0,0 +1,7 @@
// WITH_RUNTIME
// ERROR: Value classes without @JvmInline annotation are not supported yet
// SKIP_ERRORS_AFTER
@JvmInline
value class VC(val i: Int)