Extract Function: Approximate non-resolvable types with nearest resolvable supertype when possible

#KT-7120 Fixed
This commit is contained in:
Alexey Sedunov
2015-03-27 13:42:43 +03:00
parent a90d020859
commit eb594a2897
22 changed files with 224 additions and 86 deletions
@@ -3,6 +3,7 @@ LineBreakpoint created at ceObject.kt:5
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
ceObject.kt:5
Compile bytecode for (object: T {}).test()
Compile bytecode for (object: T { fun a() = 1 }).a()
Compile bytecode for object: T {}
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
@@ -12,5 +12,8 @@ trait T {
// EXPRESSION: (object: T {}).test()
// RESULT: 1: I
// EXPRESSION: (object: T { fun a() = 1 }).a()
// RESULT: 1: I
// EXPRESSION: object: T {}
// RESULT: instance of packageForDebugger.PackageForDebuggerPackage$debugFile$@packagePartHASH$myFun$1(id=ID): LpackageForDebugger/PackageForDebuggerPackage$debugFile$@packagePartHASH$myFun$1;