cb9e90183a
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
|
|
}()
|
|
}
|