Fix a bunch of stuff back and forth, 39 tests passing

This commit is contained in:
Nathan Braswell
2016-02-25 14:24:55 -05:00
parent efebf8b1d7
commit 8ce464eb0a
6 changed files with 80 additions and 17 deletions

View File

@@ -166,5 +166,11 @@ obj type (Object) {
}
return false
}
fun is_function(): bool {
match (base) {
base_type::function() return true
}
return false
}
}