Skip to content

Arrow functions: Signature not tokenized the same way as for functions #42

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

Closed
aeschli opened this issue Jan 8, 2016 · 1 comment
Closed

Comments

@aeschli
Copy link

aeschli commented Jan 8, 2016

Tokenize this:

            return this.travelWorld((cell: Cell) => {
                cell.live = Math.random() < this.initialLifeProbability;
                return cell;
            });

Note that cell: Cell is a single token (scope block body decl declaration meta method object ts).
It would be great if it can follow the tokenization for functions

@sheetalkamat
Copy link
Member

Fixed by #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants