Better test data
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Missing 'getValue(Nothing?, KProperty<*>)' method on delegate of type 'String'
|
||||
// ACTION: To raw string literal
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ACTION: Create extension function 'H?.inc'
|
||||
// ACTION: Create member function 'H.inc'
|
||||
// ACTION: Replace overloaded operator with function call
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: foo()["str"]
|
||||
// ERROR: No get method providing array access
|
||||
// ACTION: Create extension function 'Some.get'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: foo()["str"]
|
||||
// ERROR: No set method providing array access
|
||||
// ACTION: Create extension function 'Some.set'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: foo()["str"]
|
||||
// ERROR: No get method providing array access
|
||||
// ACTION: Create extension function 'Some.get'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Unresolved reference: foo
|
||||
// ACTION: Create extension function 'H.foo'
|
||||
// ACTION: Create member function 'H.foo'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Expression 'Some()' of type 'Some' cannot be invoked as a function. The function 'invoke()' is not found
|
||||
// ACTION: Create extension function 'Some.invoke'
|
||||
// ACTION: Create member function 'Some.invoke'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// FILE: first.before.kt
|
||||
// "Import" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
|
||||
// ERROR: Destructuring declaration initializer of type Some must have a 'component1()' function
|
||||
// ACTION: Create extension function 'Some.component1'
|
||||
// ACTION: Create member function 'Some.component1'
|
||||
|
||||
Reference in New Issue
Block a user