Fix haxe 3.

This commit is contained in:
Juraj Kirchheim
2020-06-26 15:24:00 +02:00
parent 08f15a6739
commit 1589665652

View File

@@ -96,7 +96,7 @@ class Sisyphus {
case TFun(args, ret):
TFunction(
[for (a in args) {
var t = TNamed(a.name, toComplexType(a.t));
var t = #if haxe4 TNamed(a.name, #else ( #end toComplexType(a.t));
if (a.opt) TOptional(t) else t;
}],
toComplexType(ret)