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

Nim int-to-text precedence #45

Closed
MeWhenI opened this issue Dec 29, 2022 · 2 comments
Closed

Nim int-to-text precedence #45

MeWhenI opened this issue Dec 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@MeWhenI
Copy link
Contributor

MeWhenI commented Dec 29, 2022

Compiling

$b:0..1 <- 1;
$a <- (int_to_text (1 + $b));

to Nim produces

var
 b=1
 a= $1+b

This is a syntax error. It should produce

var
 b=1
 a= $(1+b)
@MeWhenI
Copy link
Contributor Author

MeWhenI commented Dec 29, 2022

Potentially fixed by #41

@MichalMarsalek
Copy link
Collaborator

Potentially fixed by #41

It indeed is.

@MichalMarsalek MichalMarsalek added the bug Something isn't working label Dec 29, 2022
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

No branches or pull requests

2 participants