Explorar o código

fixed warning

Nicolas Cannasse %!s(int64=9) %!d(string=hai) anos
pai
achega
79c48af8c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      analyzer.ml

+ 1 - 1
analyzer.ml

@@ -2013,7 +2013,7 @@ module CopyPropagation = DataFlow(struct
 	let commit ctx =
 		(* We don't care about the scope on JS and AS3 because they hoist var declarations. *)
 		let in_scope bb bb' = match ctx.com.platform with
-			| Js _ -> true
+			| Js -> true
 			| Flash when Common.defined ctx.com Define.As3 -> true
 			| _ -> List.mem (List.hd bb'.bb_scopes) bb.bb_scopes
  		in