Tests fixed

This commit is contained in:
Andrey Breslav
2011-04-04 21:26:52 +04:00
parent fee824bd78
commit 69a39907e2
5 changed files with 9 additions and 5 deletions
@@ -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
+2 -2
View File
@@ -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>
}