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

Fails to print u32 #50

Closed
ianxek opened this issue Jan 12, 2022 · 4 comments
Closed

Fails to print u32 #50

ianxek opened this issue Jan 12, 2022 · 4 comments

Comments

@ianxek
Copy link

ianxek commented Jan 12, 2022

This fails

print <- "x", 3u32

@Ivo-Balbaert
Copy link
Contributor

In the same way, a strange output Ϩ for the unsigned integer 1000
print <- 1000u, "\n" // => Ϩ (should be 1000)

@Ivo-Balbaert
Copy link
Contributor

print <- 0xE0u

also doesn't print anything on Windows.
On my WSL Ubuntu, it gives:

*** stack smashing detected ***: terminated
./compexec.sh: line 6: 1724 Segmentation fault conec $1
Output:
Ϩ

@Ivo-Balbaert
Copy link
Contributor

Also strange output here (from refexpr.html):

mut flags = 0xC0u
flags |= 0x01u          // is 0xC1u
print <- flags, "\n"    // => Á

@jondgoodwin
Copy link
Owner

Fixed.

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

No branches or pull requests

3 participants