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

Types prefixed with a namespace yield QNT007 error #1494

Closed
romac opened this issue Sep 2, 2024 · 0 comments · Fixed by #1493
Closed

Types prefixed with a namespace yield QNT007 error #1494

romac opened this issue Sep 2, 2024 · 0 comments · Fixed by #1493
Assignees
Labels
bug Something isn't working

Comments

@romac
Copy link
Member

romac commented Sep 2, 2024

The spec below yields a QNT007 error during parsing even though the actual type name starts with an uppercase letter:

module upper {
  type foo::Bar = int
}
upper.qnt:5:3 - error: [QNT007] type names must start with an uppercase letter
2:   type foo::Bar = int
     ^^^^^^^^^^^^^^^^^^^

error: parsing failed
@romac romac added the bug Something isn't working label Sep 2, 2024
@romac romac self-assigned this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant