|
@@ -1190,14 +1190,7 @@ and gen_tbinop ctx op e1 e2 =
|
|
|
gen_value ctx e1;
|
|
|
spr ctx " = ";
|
|
|
gen_value ctx e3;
|
|
|
- | TField(e3, FInstance _ ), TField(e4, FStatic _ ) ->
|
|
|
- gen_value ctx e1;
|
|
|
- print ctx " %s " (Ast.s_binop op);
|
|
|
- add_feature ctx "use._hx_funcToField";
|
|
|
- spr ctx "_hx_funcToField(";
|
|
|
- gen_value ctx e2;
|
|
|
- spr ctx ")";
|
|
|
- | TField(e3, FInstance _ ), TField(e4, FClosure _ ) ->
|
|
|
+ | TField(e3, FInstance _ ), TField(e4, (FClosure _| FStatic _) ) ->
|
|
|
gen_value ctx e1;
|
|
|
print ctx " %s " (Ast.s_binop op);
|
|
|
add_feature ctx "use._hx_funcToField";
|