Skip to content

OpenSpin accepts constants that exceed 32 bits #31

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

Closed
dlcarrier opened this issue Oct 7, 2016 · 2 comments
Closed

OpenSpin accepts constants that exceed 32 bits #31

dlcarrier opened this issue Oct 7, 2016 · 2 comments
Assignees

Comments

@dlcarrier
Copy link

The following program compiles successfully with OpenSpin:

pub main | x
x := $FF_FF_FF_FF_FF

The program should not compile, because it attempts to store a 40-bit constant into 'x'.
An attempt to compile with the Propeller tool returns this error:

Constant exceeds 32 bits.

OpenSpin should generate a similar error.

@dlcarrier dlcarrier changed the title OpenSpin accepts constants that esxeed 32 bits OpenSpin accepts constants that exceed 32 bits Oct 7, 2016
@avsa242
Copy link

avsa242 commented Dec 5, 2016

@dcarrier-parallax,

I don't see a newer commit since your post on Oct 6, but this seems to work in fe4797b, can you confirm?

@reltham reltham self-assigned this May 18, 2017
@reltham reltham added the bug label May 18, 2017
@reltham
Copy link
Collaborator

reltham commented Feb 26, 2018

This is a duplicate of issue #23 which was fixed already. Closing.

@reltham reltham closed this as completed Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants