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

[Go] fix backtick strings inside function calls #3868

Conversation

keith-hall
Copy link
Collaborator

Previously the closing paren would be erroneously scoped as illegal

@michaelblyons
Copy link
Collaborator

Is there a negative scope test that would check for the unpopped context without the SQL demonstration?

@keith-hall
Copy link
Collaborator Author

not sure if I entirely understood what you were asking but I pushed a commit to add a test for incomplete case statements, to ensure they pop off the stack when a semi-colon is reached.

Go/tests/syntax_test_go.go Outdated Show resolved Hide resolved
Go/Go.sublime-syntax Show resolved Hide resolved
@keith-hall keith-hall merged commit cb1b534 into sublimehq:master Nov 27, 2023
2 checks passed
@keith-hall keith-hall deleted the fix/go/backtick-strings-inside-function-calls branch November 27, 2023 03:07
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