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

Pass correct parameters in splitScope #1654

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

rPraml
Copy link
Contributor

@rPraml rPraml commented Sep 26, 2024

When I tried to replace Tokens by Enum (#1639) I noticed, that the constructor Scope(int position) was invoked with the tokenType.
I would suggest, invoke the correct ctor here (but maybe someone with more experience should take a look at this)
I suspect it has no impact, but it is wrong in my opinion even if no tests fail.

@rbri
Copy link
Collaborator

rbri commented Sep 26, 2024

I think you are correct +1 for merging this.

@gbrail
Copy link
Collaborator

gbrail commented Sep 27, 2024

Thanks, looks good!

@gbrail gbrail merged commit 19fbdcc into mozilla:master Sep 27, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants