diff --git a/hscript/Checker.hx b/hscript/Checker.hx index e52eb2e..1339b87 100644 --- a/hscript/Checker.hx +++ b/hscript/Checker.hx @@ -637,7 +637,7 @@ class Checker { error(typeStr(t1)+" should be "+typeStr(t2),e); } - function apply( t : TType, params : Array, args : Array ) { + public function apply( t : TType, params : Array, args : Array ) { if( args.length != params.length ) throw "Invalid number of type parameters"; if( args.length == 0 ) return t;