Tests fixed
This commit is contained in:
@@ -10,7 +10,7 @@ class C {
|
||||
fun equals(a : Any?) : Int
|
||||
}
|
||||
|
||||
fun f(): Int {
|
||||
fun f(): Unit {
|
||||
var x: Int? = 1
|
||||
x = 1
|
||||
x <error>+</error> 1
|
||||
|
||||
@@ -5,7 +5,7 @@ class Dup {
|
||||
}
|
||||
|
||||
class A {
|
||||
fun foo() {
|
||||
fun foo() : Unit {
|
||||
this@A
|
||||
this<error>@a</error>
|
||||
this
|
||||
@@ -16,7 +16,7 @@ class A {
|
||||
val z = foo()
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
fun foo() : Unit {
|
||||
<error>this</error>
|
||||
this<error>@a</error>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user