Quick Fixes: Fix AssertionError on rendering type parameter
#KT-17404 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
// "Change type from 'Int' to 'X'" "true"
|
||||
// ERROR: Cannot use 'X' as reified type parameter. Use a class instead.
|
||||
inline fun <reified T> inlineReified0(f: (T) -> T) = {}
|
||||
fun <X> callInlineReified3() = inlineReified0<X>({ x: <caret>Int -> x })
|
||||
@@ -0,0 +1,4 @@
|
||||
// "Change type from 'Int' to 'X'" "true"
|
||||
// ERROR: Cannot use 'X' as reified type parameter. Use a class instead.
|
||||
inline fun <reified T> inlineReified0(f: (T) -> T) = {}
|
||||
fun <X> callInlineReified3() = inlineReified0<X>({ x: X -> x })
|
||||
Reference in New Issue
Block a user