Added automatic distructor calling for going out of scope, found out that += is broken (and just comes through as =)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user