Protection against "<caret>" missing in test data

Many incorrect tests fixed
This commit is contained in:
Valentin Kipyatkov
2016-09-21 22:08:19 +03:00
parent be8b31e82b
commit 21c2268f70
29 changed files with 52 additions and 27 deletions
+1 -1
View File
@@ -2,5 +2,5 @@
// ERROR: Unresolved reference: TTT
class {
val t: TTT = null
val t: <caret>TTT = null
}
+1 -1
View File
@@ -3,5 +3,5 @@
// ERROR: Function declaration must have a name
fun () {
val tttt : TTTTT = null
val tttt : <caret>TTTTT = null
}
+1 -1
View File
@@ -2,5 +2,5 @@
// ERROR: Unresolved reference: TTT
object {
val t : TTT = null
val t : <caret>TTT = null
}
+1 -1
View File
@@ -2,5 +2,5 @@
// ERROR: Unresolved reference: TTT
fun f(: Int) {
val t: TTT = null
val t: <caret>TTT = null
}
+1 -1
View File
@@ -3,6 +3,6 @@
val : Int
get() {
val t : TTT = null
val t : <caret>TTT = null
return 1
}