Fixed diagnostics tests
This commit is contained in:
@@ -17,7 +17,7 @@ class B() {
|
||||
object b {
|
||||
<!CLASS_OBJECT_NOT_ALLOWED!>class object {
|
||||
val x = 1
|
||||
}<!> // error
|
||||
} // error<!>
|
||||
}
|
||||
|
||||
val a = A.x
|
||||
@@ -28,4 +28,4 @@ val s = <!NO_CLASS_OBJECT!>System<!> // error
|
||||
fun test() {
|
||||
System.out.println()
|
||||
java.lang.System.out.println()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user