소스 검색

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