CreateTypeParameterFromUsageFix: fix KNPE for type alias
#KT-33302 Fixed #EA-120181 Fixed
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// "Create type parameter in type alias 'G'" "true"
|
||||
|
||||
class C
|
||||
typealias G = C
|
||||
|
||||
fun <T> a(g: G<T<caret>>) = Unit
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Create type parameter in type alias 'G'" "true"
|
||||
|
||||
class C
|
||||
typealias G<T> = C
|
||||
|
||||
fun <T> a(g: G<T>) = Unit
|
||||
Reference in New Issue
Block a user