Most of stdlib started working 55 tests pass

This commit is contained in:
Nathan Braswell
2016-03-08 16:04:59 -05:00
parent 5b3af2fa25
commit 2e6e87137d
4 changed files with 56 additions and 19 deletions

View File

@@ -160,6 +160,8 @@ obj type (Object) {
return string("impossible type, indirection:") + indirection
}
fun rank(): int {
if (indirection > 0)
return 5
match (base) {
base_type::character() return 1
base_type::integer() return 2