Browse Source

Php and Flash don't like complex static inits either

Simon Krajewski 7 tháng trước cách đây
mục cha
commit
22fa51d531
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/optimization/analyzer.ml

+ 1 - 1
src/optimization/analyzer.ml

@@ -1010,7 +1010,7 @@ module Run = struct
 			| TFunction tf ->
 				let get_t t = if ExtType.is_void t then tf.tf_type else t in
 				let doesnt_like_complex_expressions = match actx.com.platform with
-					| Cpp | Hl | Jvm ->
+					| Cpp | Hl | Jvm | Php | Flash ->
 						true
 					| _ ->
 						false