Better error recovery

This commit is contained in:
Andrey Breslav
2011-09-05 20:41:52 +04:00
parent 8801cf37fe
commit abfbe52a5a
4 changed files with 60 additions and 52 deletions
+3 -3
View File
@@ -60,9 +60,9 @@ fun <T : A> test2(t : T)
t.bar()
}
val test1 = test2<<error>A</error>>(A())
val test2 = test2<<error>B</error>>(B())
val test3 = test2<C>(C())
val t1 = test2<<error>A</error>>(A())
val t2 = test2<<error>B</error>>(B())
val t3 = test2<C>(C())
class Test<<error>T</error>>
where