The word literal 0wx80000000
is incorrectly converted to 0wx7FFFFFFF80000000
#287
Closed
2 of 12 tasks
Labels
bug
Something isn't working
compiler
problem with compiler
fixed-in-110.99.5
issues that will be fixed in the 110.99.5 version
Version
110.99.4 (Latest)
Operating System
OS Version
No response
Processor
System Component
Core system
Severity
Major
Description
The word literal
0wx80000000
is converted to0wx7FFFFFFF80000000
by the compiler. This issue also affects expressions that can be compile-time evaluated to0wx80000000
(e.g.,Word.<<(0w1, 0w31)
).Transcript
Expected Behavior
Steps to Reproduce
See above transcript.
Additional Information
I have isolated the problem to an off-by-one error in the
CPS/main/new-literals.sml
file and will push a fix.Email address
jhr@cs.uchicago.edu
The text was updated successfully, but these errors were encountered: