Specify relevant declaration type in "create actual" fix #KT-20325 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// "Create actual annotation class for platform JVM" "true"
|
||||
|
||||
expect annotation class <caret>Ann(val x: Int, val y: String)
|
||||
@@ -0,0 +1,3 @@
|
||||
// "Create actual annotation class for platform JVM" "true"
|
||||
|
||||
expect annotation class Ann(val x: Int, val y: String)
|
||||
@@ -0,0 +1 @@
|
||||
// Ann: to be implemented
|
||||
@@ -0,0 +1,2 @@
|
||||
// Ann: to be implemented
|
||||
actual annotation class Ann(val x: Int, val y: String)
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for platform JS" "true"
|
||||
// "Create actual enum class for platform JS" "true"
|
||||
|
||||
expect enum class <caret>MyEnum {
|
||||
FIRST,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for platform JS" "true"
|
||||
// "Create actual enum class for platform JS" "true"
|
||||
|
||||
expect enum class MyEnum {
|
||||
FIRST,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for platform JVM" "true"
|
||||
// "Create actual object for platform JVM" "true"
|
||||
|
||||
expect object <caret>Object {
|
||||
fun foo(): String
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create actual class for platform JVM" "true"
|
||||
// "Create actual object for platform JVM" "true"
|
||||
|
||||
expect object Object {
|
||||
fun foo(): String
|
||||
|
||||
Reference in New Issue
Block a user