added removeGlobal()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user