Browse Source

[cs] Fix delegate cache's TIf type

Cauê Waneck 9 years ago
parent
commit
7fcf6e3d3e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/generators/gencommon.ml

+ 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);