Create actual/expect quick fix should render super type correctly
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
package my
|
||||
|
||||
import other.Another
|
||||
import other.Other
|
||||
|
||||
expect class My<caret> : Other<Another>
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Create actual class for module testModule_JVM (JVM)" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
package my
|
||||
|
||||
import other.Another
|
||||
import other.Other
|
||||
|
||||
expect class My : Other<Another>
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package other
|
||||
|
||||
class Other<T>
|
||||
|
||||
class Another
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package other
|
||||
|
||||
class Other<T>
|
||||
|
||||
class Another
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// My: to be implemented
|
||||
// DISABLE-ERRORS
|
||||
package my
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// My: to be implemented
|
||||
// DISABLE-ERRORS
|
||||
package my
|
||||
|
||||
import other.Another
|
||||
import other.Other
|
||||
|
||||
actual class My : Other<Another>()
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
// My: to be implemented
|
||||
// DISABLE-ERRORS
|
||||
|
||||
package my
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// My: to be implemented
|
||||
// DISABLE-ERRORS
|
||||
|
||||
package my
|
||||
|
||||
import other.Another
|
||||
import other.Other
|
||||
|
||||
expect class My : Other<Another>
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package other
|
||||
|
||||
class Other<T>
|
||||
|
||||
class Another
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package other
|
||||
|
||||
class Other<T>
|
||||
|
||||
class Another
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
package my
|
||||
|
||||
import other.Another
|
||||
import other.Other
|
||||
|
||||
actual class <caret>My : Other<Another>()
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
package my
|
||||
|
||||
import other.Another
|
||||
import other.Other
|
||||
|
||||
actual class My : Other<Another>()
|
||||
Reference in New Issue
Block a user