瀏覽代碼

another fix for #5661

Nicolas Cannasse 9 年之前
父節點
當前提交
dd73b50e1e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/optimization/analyzerTexpr.ml

+ 1 - 1
src/optimization/analyzerTexpr.ml

@@ -1045,7 +1045,7 @@ module Purity = struct
 				| None ->
 					if not (is_pure c cf) then taint node
 				(* TODO: The function code check shouldn't be here I guess. *)
-				| Some _ when (Meta.has Meta.Extern cf.cf_meta || Meta.has Meta.FunctionCode cf.cf_meta || Meta.has (Meta.Custom ":hlNative") cf.cf_meta) ->
+				| Some _ when (Meta.has Meta.Extern cf.cf_meta || Meta.has Meta.FunctionCode cf.cf_meta || Meta.has (Meta.Custom ":hlNative") cf.cf_meta || Meta.has (Meta.Custom ":hlNative") c.cl_meta) ->
 					if not (is_pure c cf) then taint node
 				| Some e ->
 					try