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

Scope super as support.function #614

merged 1 commit into from Oct 28, 2018


None yet
2 participants

Ben3eeE commented Oct 28, 2018

Super was unscoped in tree-sitter because the syntax-tree is call_expression > super instead of call_expression > identifier

With this PR we scope it as support.function so it looks the same as require.

/cc: @maxbrunsfeld

@Ben3eeE Ben3eeE merged commit d4495c0 into master Oct 28, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@Ben3eeE Ben3eeE deleted the b3-scope-super branch Oct 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment