Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

member function can be assigned to member variable #147

Open
nyuichi opened this issue Apr 26, 2013 · 0 comments
Open

member function can be assigned to member variable #147

nyuichi opened this issue Apr 26, 2013 · 0 comments
Labels

Comments

@nyuichi
Copy link
Member

nyuichi commented Apr 26, 2013

class _Main {

    var a = (new _Main).foo;

    function foo () : void { }

    static function main (args : string[]) : void {
        new _Main;
    }

}
$ bin/jsx --run /tmp/foo.jsx

/private/var/folders/4d/_5w82zgs4jqghx364plnrfjh0000gn/T/foo.jsx.36443.13e44570f10.js:119
function _Main$() {
               ^
RangeError: Maximum call stack size exceeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant