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

Multiline strings break line numbers #943

Closed
sarranz opened this issue Oct 26, 2024 · 1 comment
Closed

Multiline strings break line numbers #943

sarranz opened this issue Oct 26, 2024 · 1 comment
Labels
Milestone

Comments

@sarranz
Copy link
Collaborator

sarranz commented Oct 26, 2024

This program

#annot="
very
long
annotation
string
"
export fn main(stack u8[1] a) {}

reports

"ble.jazz", line 2 (27-28):
typing error: a has kind stack, only reg or reg ptr are allowed in parameter of non inlined function

but the error is not in line 2. I guess it's difficult to distinguish between this and annot="very\nlong\nannotation\nstring?

@sarranz sarranz added the bug label Oct 26, 2024
@vbgl vbgl added this to the 2024.07.2 milestone Nov 8, 2024
@vbgl
Copy link
Member

vbgl commented Nov 12, 2024

Fixed in #959.

@vbgl vbgl closed this as completed Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants