Diagnostics test data fixed

This commit is contained in:
Andrey Breslav
2011-12-26 19:55:29 +04:00
parent 3b0ca42e0b
commit fa5be15852
26 changed files with 173 additions and 159 deletions
+4 -3
View File
@@ -1,3 +1,5 @@
// FILE: b.kt
fun Int?.optint() : Unit {}
val Int?.optval : Unit = #()
@@ -37,7 +39,8 @@ val <T> T.<error>foo</error> : T
fun Int.foo() = this
package null_safety {
// FILE: b.kt
package null_safety
fun parse(<warning>cmd</warning>: String): Command? { return null }
class Command() {
@@ -67,5 +70,3 @@ package null_safety {
if (command == null) 1
}
}