Better test data

This commit is contained in:
Valentin Kipyatkov
2016-09-20 19:15:18 +03:00
parent dab6f7d13d
commit 7625672914
27 changed files with 26 additions and 42 deletions
+1 -1
View File
@@ -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,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,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,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'