Fix shortening references for return type in MakeTypeExplicitInLambdaIntention

#KT-5475 Fixed
This commit is contained in:
Pavel V. Talanov
2014-07-15 18:05:58 +04:00
parent 5246735648
commit e390385bf9
4 changed files with 18 additions and 1 deletions
@@ -0,0 +1,5 @@
fun main(c: kotlin.support.AbstractIterator<Int>) {
val f = { <caret>(x: Int) -> c}
}
// WITH_RUNTIME
@@ -0,0 +1,7 @@
import kotlin.support.AbstractIterator
fun main(c: kotlin.support.AbstractIterator<Int>) {
val f = {(x: Int): AbstractIterator<Int> -> c}
}
// WITH_RUNTIME