diff --git a/idea/testData/debugger/tinyApp/outs/arrays.out b/idea/testData/debugger/tinyApp/outs/arrays.out index 6705ae88181..805cb1e9f07 100644 --- a/idea/testData/debugger/tinyApp/outs/arrays.out +++ b/idea/testData/debugger/tinyApp/outs/arrays.out @@ -2,15 +2,15 @@ LineBreakpoint created at arrays.kt:5 !JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! arrays.ArraysPackage Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' arrays.kt:5 -Compile bytecode for array(1, 2).map { it.toString() } -Compile bytecode for array(1, 2, 101, 102).filter { it > 100 } -Compile bytecode for array(1, 2).none() -Compile bytecode for array(1, 2).count() -Compile bytecode for array(1, 2).size -Compile bytecode for array(1, 2).first() -Compile bytecode for array(1, 2).last() -Compile bytecode for intArray(1, 2).max() -Compile bytecode for array(1, 2).max() +Compile bytecode for arrayOf(1, 2).map { it.toString() } +Compile bytecode for arrayOf(1, 2, 101, 102).filter { it > 100 } +Compile bytecode for arrayOf(1, 2).none() +Compile bytecode for arrayOf(1, 2).count() +Compile bytecode for arrayOf(1, 2).size() +Compile bytecode for arrayOf(1, 2).first() +Compile bytecode for arrayOf(1, 2).last() +Compile bytecode for intArrayOf(1, 2).max() +Compile bytecode for arrayOf(1, 2).max() Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' Process finished with exit code 0 diff --git a/idea/testData/debugger/tinyApp/outs/collections.out b/idea/testData/debugger/tinyApp/outs/collections.out index 84d19ad6e75..897e688de7d 100644 --- a/idea/testData/debugger/tinyApp/outs/collections.out +++ b/idea/testData/debugger/tinyApp/outs/collections.out @@ -6,11 +6,11 @@ Compile bytecode for arrayListOf(1, 2).map { it.toString() } Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 } Compile bytecode for arrayListOf(1, 2).max() Compile bytecode for arrayListOf(1, 2).count() -Compile bytecode for arrayListOf(1, 2).size +Compile bytecode for arrayListOf(1, 2).size() Compile bytecode for arrayListOf(1, 2).drop(1) Compile bytecode for ar.map { if (it > 50) "big" else "small" } .filter { it == "small" } - .size + .size() // RESULT: 2: I Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' diff --git a/idea/testData/debugger/tinyApp/outs/extractLocalVariables.out b/idea/testData/debugger/tinyApp/outs/extractLocalVariables.out index 37e7e4cef2c..546c43115de 100644 --- a/idea/testData/debugger/tinyApp/outs/extractLocalVariables.out +++ b/idea/testData/debugger/tinyApp/outs/extractLocalVariables.out @@ -4,7 +4,7 @@ Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socke extractLocalVariables.kt:7 Compile bytecode for a Compile bytecode for klass.f1(1) -Compile bytecode for args.size +Compile bytecode for args.size() Compile bytecode for klass.b Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' diff --git a/idea/testData/debugger/tinyApp/outs/simple.out b/idea/testData/debugger/tinyApp/outs/simple.out index 7566f096053..88620ed134c 100644 --- a/idea/testData/debugger/tinyApp/outs/simple.out +++ b/idea/testData/debugger/tinyApp/outs/simple.out @@ -5,7 +5,7 @@ simple.kt:6 Compile bytecode for 1 Compile bytecode for 1 + 1 Compile bytecode for val a = 1 -a + args.size +a + args.size() // RESULT: 1: I diff --git a/idea/testData/debugger/tinyApp/outs/stdlib.out b/idea/testData/debugger/tinyApp/outs/stdlib.out index 2085f233af8..8fa8a5b598a 100644 --- a/idea/testData/debugger/tinyApp/outs/stdlib.out +++ b/idea/testData/debugger/tinyApp/outs/stdlib.out @@ -2,9 +2,9 @@ LineBreakpoint created at stdlib.kt:5 !JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! stdlib.StdlibPackage Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket' stdlib.kt:5 -Compile bytecode for array(100, 101) -Compile bytecode for array("a", "b", "c") -Compile bytecode for intArray(1, 2) +Compile bytecode for arrayOf(100, 101) +Compile bytecode for arrayOf("a", "b", "c") +Compile bytecode for intArrayOf(1, 2) Compile bytecode for javaClass() Compile bytecode for javaClass() Compile bytecode for 100.toInt() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/.kt.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/.kt.kt index 84b601395b7..2e6e1e793f0 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/.kt.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/.kt.kt @@ -2,7 +2,7 @@ fun main(args: Array) { //Breakpoint! - args.size + args.size() } // EXPRESSION: 1 + 1 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/abstractFunCall.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/abstractFunCall.kt index 643597888c1..6a2c61055be 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/abstractFunCall.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/abstractFunCall.kt @@ -2,7 +2,7 @@ package abstractFunCall fun main(args: Array) { //Breakpoint! - args.size + args.size() } // EXPRESSION: (1 as java.lang.Number).intValue() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/arrays.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/arrays.kt index ad83485a327..c44cc13a659 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/arrays.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/arrays.kt @@ -2,32 +2,32 @@ package arrays fun main(args: Array) { //Breakpoint! - args.size + args.size() } -// EXPRESSION: array(1, 2).map { it.toString() } +// EXPRESSION: arrayOf(1, 2).map { it.toString() } // RESULT: instance of java.util.ArrayList(id=ID): Ljava/util/ArrayList; -// EXPRESSION: array(1, 2, 101, 102).filter { it > 100 } +// EXPRESSION: arrayOf(1, 2, 101, 102).filter { it > 100 } // RESULT: instance of java.util.ArrayList(id=ID): Ljava/util/ArrayList; -// EXPRESSION: array(1, 2).none() +// EXPRESSION: arrayOf(1, 2).none() // RESULT: 0: Z -// EXPRESSION: array(1, 2).count() +// EXPRESSION: arrayOf(1, 2).count() // RESULT: 2: I -// EXPRESSION: array(1, 2).size +// EXPRESSION: arrayOf(1, 2).size() // RESULT: 2: I -// EXPRESSION: array(1, 2).first() +// EXPRESSION: arrayOf(1, 2).first() // RESULT: 1: I -// EXPRESSION: array(1, 2).last() +// EXPRESSION: arrayOf(1, 2).last() // RESULT: 2: I -// EXPRESSION: intArray(1, 2).max() +// EXPRESSION: intArrayOf(1, 2).max() // RESULT: instance of java.lang.Integer(id=ID): Ljava/lang/Integer; -// EXPRESSION: array(1, 2).max() +// EXPRESSION: arrayOf(1, 2).max() // RESULT: instance of java.lang.Integer(id=ID): Ljava/lang/Integer; diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/callableBug.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/callableBug.kt index 45618b77d68..881e757cf45 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/callableBug.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/callableBug.kt @@ -2,7 +2,7 @@ package callableBug fun main(args: Array) { val callable = 1 - array(1, 2).map { + arrayOf(1, 2).map { it + 1 //Breakpoint! }.forEach { it + 2 } diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/classFromAnotherPackage.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/classFromAnotherPackage.kt index b94f5b8da9e..05965ddea67 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/classFromAnotherPackage.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/classFromAnotherPackage.kt @@ -4,7 +4,7 @@ import forTests.MyJavaClass fun main(args: Array) { //Breakpoint! - args.size + args.size() } // EXPRESSION: MyJavaClass() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt index 7499e3ab3ab..3a8b3ba0c8e 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt @@ -1,9 +1,9 @@ package collections fun main(args: Array) { - val ar = intArray(1, 2, 100, 200) + val ar = intArrayOf(1, 2, 100, 200) //Breakpoint! - args.size + args.size() } // EXPRESSION: arrayListOf(1, 2).map { it.toString() } @@ -18,7 +18,7 @@ fun main(args: Array) { // EXPRESSION: arrayListOf(1, 2).count() // RESULT: 2: I -// EXPRESSION: arrayListOf(1, 2).size +// EXPRESSION: arrayListOf(1, 2).size() // RESULT: 2: I // EXPRESSION: arrayListOf(1, 2).drop(1) diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt.fragment b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt.fragment index 8c2be2df173..b33475dbe1c 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt.fragment +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/collections.kt.fragment @@ -1,5 +1,5 @@ ar.map { if (it > 50) "big" else "small" } .filter { it == "small" } - .size + .size() // RESULT: 2: I \ No newline at end of file diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/dependentOnFile.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/dependentOnFile.kt index ea92882ef15..50eea80ceed 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/dependentOnFile.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/dependentOnFile.kt @@ -2,7 +2,7 @@ package dependentOnFile fun main(args: Array) { //Breakpoint! - args.size + args.size() } class TestClass { diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/doubles.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/doubles.kt index 1ba2c60ef79..235e81319d7 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/doubles.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/doubles.kt @@ -4,7 +4,7 @@ fun main(args: Array) { val d1 = 1.0 val d2 = 3.0 //Breakpoint! - args.size + args.size() } // EXPRESSION: d1 + d2 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/enums.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/enums.kt index f5ae3d71828..2790c5fc9c3 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/enums.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/enums.kt @@ -4,7 +4,7 @@ import enums.MyEnum.A fun main(args: Array) { //Breakpoint! - args.size + args.size() } enum class MyEnum { A } diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractLocalVariables.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractLocalVariables.kt index d3e8fa703ff..0e70022a082 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractLocalVariables.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractLocalVariables.kt @@ -18,7 +18,7 @@ class MyClass { // EXPRESSION: klass.f1(1) // RESULT: 1: I -// EXPRESSION: args.size +// EXPRESSION: args.size() // RESULT: 0: I // EXPRESSION: klass.b diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractVariablesFromCall.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractVariablesFromCall.kt index c6441f29616..5d2a18a1a53 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractVariablesFromCall.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/extractVariablesFromCall.kt @@ -8,11 +8,11 @@ fun main(args: Array) { val c = 0 } -fun f1(i: Int, s: String) = i + s.size -fun Int.f2(s: String) = this + s.size +fun f1(i: Int, s: String) = i + s.length() +fun Int.f2(s: String) = this + s.length() class MyClass { - fun f1(i: Int, s: String) = i + s.size + fun f1(i: Int, s: String) = i + s.length() } // EXPRESSION: f1(a, s) diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/imports.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/imports.kt index ada125a5b97..c23542f3581 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/imports.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/imports.kt @@ -7,7 +7,7 @@ import java.util.HashMap as JHashMap fun main(args: Array) { //Breakpoint! - args.size + args.size() } // EXPRESSION: Collections.emptyList() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.kt index 423c1a5ff94..68186ce5a4b 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.kt @@ -2,7 +2,7 @@ package kt5554OnlyIntsShouldBeCoerced fun main(args: Array) { //Breakpoint! - args.size + args.size() } // EXPRESSION: Class.forName("java.lang.Object").getGenericInterfaces() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineFunctionalExpression.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineFunctionalExpression.kt index a34f3187d1c..b8535a89af9 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineFunctionalExpression.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineFunctionalExpression.kt @@ -1,7 +1,7 @@ package inlineFunctionalExpression fun main(args: Array) { - val a = array(1) + val a = arrayOf(1) // EXPRESSION: it // RESULT: 1: I // RESUME: 1 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineLambda.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineLambda.kt index 5b78438bd2b..109abd43a17 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineLambda.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/lambdas/inlineLambda.kt @@ -1,7 +1,7 @@ package inlineLambda fun main(args: Array) { - val a = array(1) + val a = arrayOf(1) // EXPRESSION: it // RESULT: 1: I // RESUME: 1 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/methodWithBreakpoint.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/methodWithBreakpoint.kt index 4c31d33114b..905665b5ebf 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/methodWithBreakpoint.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/methodWithBreakpoint.kt @@ -2,7 +2,7 @@ package methodWithBreakpoint fun main(args: Array) { //Breakpoint! - args.size + args.size() } fun foo(): Int { diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/multilineExpressionAtBreakpoint.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/multilineExpressionAtBreakpoint.kt index 8dde51f2bd2..0ef4b79f265 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/multilineExpressionAtBreakpoint.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/multilineExpressionAtBreakpoint.kt @@ -3,8 +3,8 @@ package multilineExpressionAtBreakpoint fun main(args: Array) { //Breakpoint! args - .size - .indices + .size() + .downTo(0) } // EXPRESSION: 1 + 1 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/privateMember.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/privateMember.kt index 1ced9ae98d6..cfec2bf9c04 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/privateMember.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/privateMember.kt @@ -6,7 +6,7 @@ fun main(args: Array) { val derivedAsBase: Base = Derived() //Breakpoint! - args.size + args.size() } class MyClass { diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/protectedMember.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/protectedMember.kt index 82ad3ec25ae..f3cacfe489a 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/protectedMember.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/protectedMember.kt @@ -2,7 +2,7 @@ package protectedMember fun main(args: Array) { //Breakpoint! - args.size + args.size() } class MyClass { diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt index 12f7e672043..12798051f09 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt @@ -3,7 +3,7 @@ package simple // this test is used also to check more than one file for package in JetPositionManager:prepareTypeMapper. see forTests/simple.kt fun main(args: Array) { //Breakpoint! - args.size + args.size() } // EXPRESSION: 1 diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt.fragment b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt.fragment index 4c5b81a3e61..efb2dbb6787 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt.fragment +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/simple.kt.fragment @@ -1,4 +1,4 @@ val a = 1 -a + args.size +a + args.size() // RESULT: 1: I diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/stdlib.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/stdlib.kt index bd1a8290a9f..76cbe1ea5f9 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/stdlib.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/stdlib.kt @@ -2,16 +2,16 @@ package stdlib fun main(args: Array) { //Breakpoint! - args.size + args.size() } -// EXPRESSION: array(100, 101) +// EXPRESSION: arrayOf(100, 101) // RESULT: instance of java.lang.Integer[2] (id=ID): [Ljava/lang/Integer; -// EXPRESSION: array("a", "b", "c") +// EXPRESSION: arrayOf("a", "b", "c") // RESULT: instance of java.lang.String[3] (id=ID): [Ljava/lang/String; -// EXPRESSION: intArray(1, 2) +// EXPRESSION: intArrayOf(1, 2) // RESULT: instance of int[2] (id=ID): [I // EXPRESSION: javaClass() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/unsafeCall.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/unsafeCall.kt index 23605c9d853..2fe268ded5a 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/unsafeCall.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/unsafeCall.kt @@ -5,7 +5,7 @@ fun main(args: Array) { val s1: String? = "a" val s2: String? = null //Breakpoint! - args.size + args.size() } // EXPRESSION: s1.length() diff --git a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/vars.kt b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/vars.kt index a4b1bd4cd51..295767335a7 100644 --- a/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/vars.kt +++ b/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/vars.kt @@ -4,7 +4,7 @@ fun main(args: Array) { var a = 1 a += 1 //Breakpoint! - args.size + args.size() } // EXPRESSION: a diff --git a/idea/testData/debugger/tinyApp/src/stepping/filters/stdlibStep.kt b/idea/testData/debugger/tinyApp/src/stepping/filters/stdlibStep.kt index 56164e96901..dfdec0eba92 100644 --- a/idea/testData/debugger/tinyApp/src/stepping/filters/stdlibStep.kt +++ b/idea/testData/debugger/tinyApp/src/stepping/filters/stdlibStep.kt @@ -1,7 +1,7 @@ package stdlibStep fun main(args: Array) { - val a = intArray(1) + val a = intArrayOf(1) //Breakpoint! a.withIndices() val b = 1 diff --git a/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlib.kt b/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlib.kt index fc423dce790..e73e476d80f 100644 --- a/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlib.kt +++ b/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlib.kt @@ -1,7 +1,7 @@ package stepIntoStdlib fun main(args: Array) { - val a = intArray(1) + val a = intArrayOf(1) //Breakpoint! a.withIndices() val b = 1 diff --git a/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlibFacadeClass.kt b/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlibFacadeClass.kt index 0cdb9920f5d..764aed9a23e 100644 --- a/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlibFacadeClass.kt +++ b/idea/testData/debugger/tinyApp/src/stepping/filters/stepIntoStdlibFacadeClass.kt @@ -1,7 +1,7 @@ package stepIntoStdlibFacadeClass fun main(args: Array) { - val a = intArray(1) + val a = intArrayOf(1) //Breakpoint! a.withIndex() val b = 1