Debugger: do not insert array in imports
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
package createExpressionCastToBuiltIn
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val primitiveArray = intArrayOf(1)
|
||||
val stringArray = arrayOf("a")
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// SKIP: value, hash, hash32
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_EXPRESSION_RESULT
|
||||
Vendored
+1
-1
@@ -16,4 +16,4 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_AND_EXPRESSION
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_EXPRESSION
|
||||
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
package createExpressionWithArray
|
||||
|
||||
import forTests.MyJavaClass
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val baseArray = arrayOf(MyJavaClass().getBaseClassValue())
|
||||
val innerArray = arrayOf(MyJavaClass().getInnerClassValue())
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
}
|
||||
|
||||
// PRINT_FRAME
|
||||
// DESCRIPTOR_VIEW_OPTIONS: NAME_EXPRESSION_RESULT
|
||||
@@ -23,4 +23,19 @@ public class MyJavaClass {
|
||||
private static class PrivateJavaClass {
|
||||
public final int prop = 1;
|
||||
}
|
||||
|
||||
public static class BaseClass {
|
||||
public final int i2 = 1;
|
||||
}
|
||||
|
||||
public BaseClass getBaseClassValue() {
|
||||
return new BaseClass();
|
||||
}
|
||||
public BaseClass getInnerClassValue() {
|
||||
return new InnerClass();
|
||||
}
|
||||
|
||||
public static class InnerClass extends BaseClass {
|
||||
public final int i = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user