I'm not setup for doing merges right now but this looks good for anybody else that wants to. Didn't think about using any instead of Object.
You might find more little things like this, when I wrote this compiler, I was mainly looking to get it "working", didn't go through it deep. On Thu, Dec 31, 2015 at 10:50 PM, adufilie <g...@git.apache.org> wrote: > GitHub user adufilie opened a pull request: > > https://github.com/apache/flex-falcon/pull/4 > > (relating to js.swc) Return type with template should be treated as * > > The code "var x:int = [1,2].pop();" should not generate an error > "Implicit coercion of a value with static type Object to a possibly > unrelated type int." > > You can merge this pull request into a Git repository by running: > > $ git pull https://github.com/adufilie/flex-falcon patch-3 > > Alternatively you can review and apply these changes as the patch at: > > https://github.com/apache/flex-falcon/pull/4.patch > > To close this pull request, make a commit to your master/trunk branch > with (at least) the following in the commit message: > > This closes #4 > > ---- > commit 92bfa13c02f49ccc3c964436e15051b6dc2d5181 > Author: Andy Dufilie <andy.dufi...@gmail.com> > Date: 2016-01-01T03:47:50Z > > Return type with template should be treated as * > > The code "var x:int = [1,2].pop();" should not generate an error > "Implicit coercion of a value with static type Object to a possibly > unrelated type int." > > ---- > > > --- > If your project is set up for it, you can reply to this email and have your > reply appear on GitHub as well. If your project does not have this feature > enabled and wishes so, or if the feature is enabled but not working, please > contact infrastructure at infrastruct...@apache.org or file a JIRA ticket > with INFRA. > --- >