RandoriAS / randori-compiler

Compiler for Randori ActionScript Project
http://randoriframework.com/
20 stars 9 forks source link

Regression: Static being applied to getters??? #181

Open renaun opened 11 years ago

renaun commented 11 years ago

AS3:

// numChildren is this class
if (index >= 0 && index < numChildren)

pre 2.6.2 compiler which is correct:

if (index >= 0 && index < this.get_numChildren())

2.6.2 wrong output:

if (index >= 0 && index < $createStaticDelegate(this, this.get_numChildren))
teotigraphix commented 11 years ago

nope this had to do with my last change. This stuff seriously has to be refactored, its just going to be dumb things like this that come up.