Added automatic distructor calling for going out of scope, found out that += is broken (and just comes through as =)

This commit is contained in:
Nathan Braswell
2016-01-29 22:46:09 -05:00
parent da38ae03ed
commit 6f1f31a212
5 changed files with 353 additions and 331 deletions

View File

@@ -121,5 +121,11 @@ obj type (Object) {
to_ret->indirection = ind
return to_ret
}
fun is_object(): bool {
match (base) {
base_type::object() return true
}
return false
}
}