forgot this

This commit is contained in:
Jaime Humberto Macias Bustamante
2025-09-19 16:53:03 -07:00
parent c91ca46eb4
commit 9c3069d62e
+2
View File
@@ -605,6 +605,8 @@ class Interp {
}
public inline function warn(e:#if hscriptPos ErrorDef #else Error #end) {
#if hscriptPos var e = new Error(e, curExpr.pmin, curExpr.pmax, curExpr.origin, curExpr.line); #end
if(warnHandler != null)
warnHandler(e);
else