Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hscript/Checker.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,7 @@ class Checker {
mergeType( typeExpr(defaultExpr, withType), defaultExpr);
return withType == NoValue ? TVoid : tmin == null ? makeMono() : tmin;
case ENew(cl, params):
return types.resolve(cl);
}
error("Don't know how to type "+edef(expr).getName(), expr);
return TDynamic;
Expand Down