Files
kotlin-fork/idea/testData/navigation/gotoDeclaration/itExtensionLambdaInBrackets.test
T
Nikolay Krasko 9dfc92c55e Navigate to lambda declaration from generated 'it' (KT-16992)
#KT-16992 Fixed
 #KT-13013 In Progress
2017-03-23 13:37:05 +03:00

23 lines
285 B
Plaintext
Vendored

// FILE: before.kt
interface Foo
interface Bar
fun foo(b: Int, a: Foo.(Bar) -> Unit) {}
fun bar() {
foo(12, {
<caret>it
})
}
// FILE: after.kt
interface Foo
interface Bar
fun foo(b: Int, a: Foo.(Bar) -> Unit) {}
fun bar() {
foo(12, {<caret>
it
})
}