Changed from typedef to obj and def

This commit is contained in:
Nathan Braswell
2015-05-16 12:05:23 -04:00
parent 4bc42bc516
commit 65fd2ed9b7
27 changed files with 55 additions and 47 deletions

View File

@@ -2,7 +2,7 @@ import io:*;
import mem:*;
import vector:*;
typedef AbleToBeDestroyed (Destructable) {
obj AbleToBeDestroyed (Destructable) {
fun destruct(): void {
println("Destroyed!");
}