ExpectActualUtils: repairSuperTypeList should consider type parameters
This commit is contained in:
Vendored
+1
@@ -1 +1,2 @@
|
||||
@Target(AnnotationTarget.TYPE, AnnotationTarget.VALUE_PARAMETER)
|
||||
annotation class SimpleA
|
||||
+1
-1
@@ -1 +1 @@
|
||||
expect fun @receiver:SimpleA String.myExtension()
|
||||
expect fun <T : @SimpleA List<@SimpleA List<@SimpleA String>>> @receiver:SimpleA String.myExtension(@SimpleA a: @SimpleA List<@SimpleA List<@SimpleA String>>)
|
||||
Vendored
+3
-1
@@ -1,4 +1,6 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual fun @receiver:SimpleA String.<caret>myExtension() { println(this) }
|
||||
actual fun <T : @SimpleA List<@SimpleA List<@SimpleA String>>>@receiver:SimpleA String.<caret>myExtension(@SimpleA a: @SimpleA List<@SimpleA List<@SimpleA String>>) {
|
||||
println(this)
|
||||
}
|
||||
Vendored
+3
-1
@@ -1,4 +1,6 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
actual fun @receiver:SimpleA String.<caret>myExtension() { println(this) }
|
||||
actual fun <T : @SimpleA List<@SimpleA List<@SimpleA String>>>@receiver:SimpleA String.myExtension(@SimpleA a: @SimpleA List<@SimpleA List<@SimpleA String>>) {
|
||||
println(this)
|
||||
}
|
||||
Reference in New Issue
Block a user