[NI] Fix updated type for lambda, use original type for substitution
#KT-24367 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
myMap {<caret> it: Int -> it }
|
||||
}
|
||||
|
||||
fun <T> myMap(transform: (T) -> T): T = TODO()
|
||||
|
||||
// TYPE: { it: Int -> it } -> <html>(Int) → Int</html>
|
||||
Reference in New Issue
Block a user