2
0
Эх сурвалжийг харах

[cs] Fix delegate cache's TIf type

Cauê Waneck 9 жил өмнө
parent
commit
7fcf6e3d3e

+ 1 - 0
src/generators/gencommon.ml

@@ -3088,6 +3088,7 @@ struct
 
 					let pos = func_expr.epos in
 					{ fexpr with
+						etype = hx_current.etype;
 						eexpr = TIf(
 							{
 								eexpr = TBinop(OpNotEq, hx_current, null (TInst(cls,[])) pos);