瀏覽代碼

fix flash9

Simon Krajewski 11 年之前
父節點
當前提交
e48f5753c2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      codegen.ml

+ 3 - 1
codegen.ml

@@ -1557,7 +1557,9 @@ module UnificationCallback = struct
 
 	let rec run f e =
 		let f e t =
-			if not (type_iseq e.etype t) then f e t else e
+			(* TODO: I don't think this should cause errors on Flash target *)
+			(* if not (type_iseq e.etype t) then f e t else e *)
+			f e t
 		in
 		let check e = match e.eexpr with
 			| TBinop((OpAssign | OpAssignOp _ as op),e1,e2) ->