added removeGlobal()

This commit is contained in:
Nicolas Cannasse
2019-10-01 18:09:41 +02:00
parent 6cea0d97c2
commit fb199e7dea
+4
View File
@@ -258,6 +258,10 @@ class Checker {
this.types = types;
}
public function removeGlobal( name : String ) {
globals.remove(name);
}
public function setGlobal( name : String, type : TType ) {
globals.set(name, type);
}