From 0e20d2cba42e257da52ead99cf62335869177476 Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Mon, 4 Jan 2016 09:31:21 -0500 Subject: [PATCH] leave Array untouched for the moment This breaks basic ruby-style array access, see paulfitz/haxe#4. Removing this costs the ability to run certain haxe-defined methods on arrays when type information is not available, so will need to revisit this later. --- genrb.ml | 3 --- 1 file changed, 3 deletions(-) diff --git a/genrb.ml b/genrb.ml index 6558cc4318c..b8811b53fd6 100644 --- a/genrb.ml +++ b/genrb.ml @@ -1641,9 +1641,6 @@ let generate_main ctx inits reqs com = spr ctx " end\n"; spr ctx " end\n"; spr ctx "end\n"; - spr ctx "class Array\n"; - spr ctx " haxe_me(['Array'])\n"; - spr ctx "end\n"; let rec chk_features e = if is_dynamic_iterator ctx e then add_feature ctx "use.$iterator";