From 5d493630b142c11697e95e0bf94fef224a5feb18 Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Fri, 29 Nov 2019 18:11:46 +0100 Subject: [PATCH] make apply public --- hscript/Checker.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;