Extract Function: Improve rendering of error messages
This commit is contained in:
@@ -2,4 +2,4 @@ prop += 1
|
||||
prop2 +=2
|
||||
prop + prop2
|
||||
|
||||
// RESULT: Cannot perform an action because this code fragment changes more than one variable: prop, prop2
|
||||
// RESULT: Cannot perform an action because this code fragment changes more than one variable: var prop2: Int, var prop: Int
|
||||
@@ -1,3 +1,3 @@
|
||||
object {}
|
||||
|
||||
// RESULT: Cannot perform an action because following types are unavailable from debugger scope: errors.MyClass.baseFun.<no name provided>
|
||||
// RESULT: Cannot perform an action because following types are unavailable from debugger scope: errors.MyClass.baseFun.<no name provided>
|
||||
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.A
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Selected code fragment has multiple output values: b c
|
||||
Selected code fragment has multiple output values: var b: Int var c: Int
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Selected code fragment has multiple output values: b c
|
||||
Selected code fragment has multiple output values: var b: Int var c: Int
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Selected code fragment has multiple output values: b c
|
||||
Selected code fragment has multiple output values: var b: Int var c: Int
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.<no name provided>
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.<no name provided>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Selected code fragment has multiple output values: a b
|
||||
Selected code fragment has multiple output values: val a: Int val b: Int
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Following declarations won't be available outside of extracted function body: x
|
||||
Following declarations won't be available outside of extracted function body: val x: Int
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: [ERROR : ]
|
||||
Cannot extract method since following types are not denotable in the target scope: [ERROR : <ERROR FUNCTION RETURN TYPE>]
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: [ERROR : ]
|
||||
Cannot extract method since following types are not denotable in the target scope: [ERROR : <ERROR FUNCTION RETURN TYPE>]
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.<no name provided>
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.<no name provided>
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.T
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.T
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.X
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.X
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.X
|
||||
Cannot extract method since following types are not denotable in the target scope: foo.X
|
||||
Reference in New Issue
Block a user