Pseudocode: Generate fake values for Unit/Nothing-typed expressions

This commit is contained in:
Alexey Sedunov
2014-07-23 12:56:21 +04:00
parent 2d3ac9109b
commit 77bbf8f73b
72 changed files with 851 additions and 592 deletions
@@ -1,6 +1,6 @@
fun test() {
run1 @f{(): Int ->
(return@f 1): Nothing
(return@f 1)<!UNREACHABLE_CODE!>: Nothing<!>
}
}