diff --git a/hscript/Checker.hx b/hscript/Checker.hx index fa92cac..3dda47b 100644 --- a/hscript/Checker.hx +++ b/hscript/Checker.hx @@ -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); }