make apply public

This commit is contained in:
Nicolas Cannasse
2019-11-29 18:11:46 +01:00
parent f4db6faa80
commit 5d493630b1
+1 -1
View File
@@ -637,7 +637,7 @@ class Checker {
error(typeStr(t1)+" should be "+typeStr(t2),e);
}
function apply( t : TType, params : Array<TType>, args : Array<TType> ) {
public function apply( t : TType, params : Array<TType>, args : Array<TType> ) {
if( args.length != params.length ) throw "Invalid number of type parameters";
if( args.length == 0 )
return t;