Skip to content

Commit 22fa51d

Browse files
committed
Php and Flash don't like complex static inits either
1 parent 97c3e5a commit 22fa51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/optimization/analyzer.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ module Run = struct
10101010
| TFunction tf ->
10111011
let get_t t = if ExtType.is_void t then tf.tf_type else t in
10121012
let doesnt_like_complex_expressions = match actx.com.platform with
1013-
| Cpp | Hl | Jvm ->
1013+
| Cpp | Hl | Jvm | Php | Flash ->
10141014
true
10151015
| _ ->
10161016
false

0 commit comments

Comments
 (0)