mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
MockReferenceType can't be used anymore because the new DebuggerClassNameProvider requires much more from it. The new SmartMockReferenceType implements methods such as nestedTypes() or allLineLocations() properly. Also, as PositionManager can return more than one class, we should check if any of the classes it returned matches the pattern.
8 lines
140 B
Kotlin
Vendored
8 lines
140 B
Kotlin
Vendored
package insertInBlock
|
|
|
|
fun foo() {
|
|
val lambda = {
|
|
val a = 1 // insertInBlock.AnonymousNamedFunctionKt\$foo\$lambda\$1
|
|
}()
|
|
}
|