Create actual/expect quick fix should render super type correctly

This commit is contained in:
Dmitry Gridin
2019-08-02 20:51:11 +03:00
parent a21375508d
commit dffb44c11c
14 changed files with 95 additions and 7 deletions
@@ -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>
@@ -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>
@@ -0,0 +1,5 @@
package other
class Other<T>
class Another
@@ -0,0 +1,5 @@
package other
class Other<T>
class Another
@@ -0,0 +1,3 @@
// My: to be implemented
// DISABLE-ERRORS
package my
@@ -0,0 +1,8 @@
// My: to be implemented
// DISABLE-ERRORS
package my
import other.Another
import other.Other
actual class My : Other<Another>()
@@ -0,0 +1,4 @@
// My: to be implemented
// DISABLE-ERRORS
package my
@@ -0,0 +1,9 @@
// My: to be implemented
// DISABLE-ERRORS
package my
import other.Another
import other.Other
expect class My : Other<Another>
@@ -0,0 +1,5 @@
package other
class Other<T>
class Another
@@ -0,0 +1,5 @@
package other
class Other<T>
class Another
@@ -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>()
@@ -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>()