You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot build Crary's Istari prover (istarilogic.org) because of compiler bug below.
Transcript
[compiling ../prover/(prover.cm):../ipp/basis/(basis.cm):basis.sml]
Error: Compiler bug: IntInfCnv: toInf: incorrect number of arguments
val it = false : bool
export.sml:22.32-22.47 Error: unbound structure: Handler in path Handler.handler
make[1]: *** [batch-nolib] Error 1
make: *** [smlnj] Error 2
Expected Behavior
It should compile :).
Steps to Reproduce
Just download istari from istarilogic.org and build on a Mac (notebook or desktop failed for me). It will fall over as indicated above. Seems to be a bug with bignum's.
Activity
kcrary commentedon Jan 15, 2025
This code triggers the bug:
fun foo x = IntInf.fromInt (Word8.toIntX x)You get:
Error: Compiler bug: IntInfCnv: toInf: incorrect number of argumentsFix for Issue #337 (compiler bug aborts build of istari).
JohnReppy commentedon Jan 17, 2025
This is fixed in the patch release 110.99.7.1
Fix for Issue smlnj#337 (compiler bug aborts build of istari).