Skip to content

Commit 15130a8

Browse files
committed
[flash] maybe fix AS3 (see #8549)
i have wrong air sdk here, so i can't test it locally at the moment
1 parent ff76576 commit 15130a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generators/genas3.ml

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ let rec type_str ctx t p =
264264
| [], "Int" -> "int"
265265
| [], "Float" -> "Number"
266266
| [], "Bool" -> "Boolean"
267+
| ["flash"], "AnyType" -> "*"
267268
| _ -> s_path ctx true a.a_path p)
268269
| TEnum (e,_) ->
269270
if e.e_extern then "Object" else s_path ctx true e.e_path p

0 commit comments

Comments
 (0)