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

Improve error for missing arrow operator #476

Merged
merged 3 commits into from
Nov 3, 2021
Merged

Improve error for missing arrow operator #476

merged 3 commits into from
Nov 3, 2021

Conversation

singalhimanshu
Copy link
Contributor

The following code:

let f = () {}

Should report error_missing_arrow_operator_in_arrow_function
Fix: #461

The following code:

    let f = () {}

Should report error_missing_arrow_operator_in_arrow_function
src/parse.cpp Outdated Show resolved Hide resolved
src/parse.cpp Outdated Show resolved Hide resolved
test/test-parse-function.cpp Show resolved Hide resolved
@strager strager merged commit 1393e47 into quick-lint:master Nov 3, 2021
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.

12$: Improve diagnostic: f = () {}
2 participants