Diagnostics test data fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user