Browse Source

(As3) cast Array using `as` (closes #2713)

Simon Krajewski 11 years ago
parent
commit
373de26d6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      genas3.ml

+ 1 - 1
genas3.ml

@@ -850,7 +850,7 @@ and gen_value ctx e =
 		begin match s with
 		| "*" ->
 			gen_value ctx e1
-		| "Function" ->
+		| "Function" | "Array" ->
 			spr ctx "((";
 			gen_value ctx e1;
 			print ctx ") as %s)" s;