Fixed testdata for new inference

This commit is contained in:
Alexander Podkhalyuzin
2019-08-20 14:57:26 +03:00
parent d018489621
commit 66bed85176
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ fun yield(yield: Int) {
val foo = yield + yield
val foo2 = yield
bar(yield = 5)
// bar(yield = 5) //this is different in old and new inference, should be tested in compiler
yield(4)
yield {}
+1 -1
View File
@@ -74,7 +74,7 @@ fun yield(yield: Int) {
val foo = `yield` + `yield`
val foo2 = `yield`
bar(`yield` = 5)
// bar(yield = 5) //this is different in old and new inference, should be tested in compiler
yield(4)
yield() {}