Fixed some closure/function value issues, now 40 tests pass

This commit is contained in:
Nathan Braswell
2016-02-27 21:07:22 -05:00
parent 8ce464eb0a
commit 939cf83da1
3 changed files with 74 additions and 24 deletions

View File

@@ -172,5 +172,11 @@ obj type (Object) {
}
return false
}
fun is_void(): bool {
match (base) {
base_type::void_return() return true
}
return false
}
}