Explorar o código

fixed Array.toString

Nicolas Cannasse %!s(int64=17) %!d(string=hai) anos
pai
achega
a917dc2ab2
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 0
      doc/CHANGES.txt
  2. 1 1
      genswf9.ml

+ 3 - 0
doc/CHANGES.txt

@@ -1,3 +1,6 @@
+2008-??-??: 1.19
+	fixed flash9 Array.toString
+
 2008-02-23: 1.18
 	some optimization and bugfix for as3 codegen
 	bugfix : allow bitmaps and fonts classes for F9 library

+ 1 - 1
genswf9.ml

@@ -234,7 +234,7 @@ let property p t =
 	| TInst ({ cl_path = [],"Array" },_) ->
 		(match p with
 		| "length" -> ident p, Some KInt
-		| "copy" | "insert" | "remove" | "iterator" -> ident p , None
+		| "copy" | "insert" | "remove" | "iterator" | "toString" -> ident p , None
 		| _ -> as3 p, None);
 	| TInst ({ cl_path = [],"String" },_) ->
 		(match p with