Fix nested closures and related bugs

This commit is contained in:
Nathan Braswell
2015-07-05 02:34:45 -04:00
parent d44ce47d1e
commit cfadf7cebb
13 changed files with 101 additions and 56 deletions

View File

@@ -1,4 +1,6 @@
import io;
import io:*
import string:*
fun main(): int {
io::println("Spam");
var x: int = 4;
@@ -18,4 +20,6 @@ fun main(): int {
var boolean = false
if ( z > 20 && !boolean)
io::println("woo not")
io::println(string("ab")[0] == 'a')
io::println('b' == 'a')
}