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
After build and install of mosml from the sources and performing the test, it fails with:
bash-3.2$ cd ${HOME}/src/test
bash-3.2$ make clean
rm -f result
bash-3.2$ make test
make: *** No rule to make target `test'. Stop.
bash-3.2$ make
rm -f result
mosml -P full test.sml > result 2>&1
mosml -P full < ovlfail.sml >> result 2>&1
mosml -P full < constfai.sml >> result 2>&1
mosml -P full < testcon.sml >> result 2>&1
mosml -P full < testty.sml >> result 2>&1
mosml -P full < typerr.sml >> result 2>&1
mosml -P full < recfail.sml >> result 2>&1
bash-3.2$ !di
diff result result.ok
1c1
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
327,330c327,330
< > val it = "WRONG" : string
< > val it = "WRONG" : string
< > val it = "WRONG" : string
< > val it = "WRONG" : string
val it = "OK" : string
val it = "OK" : string
val it = "OK" : string
val it = "OK" : string
336,338c336,338
< > val it = "WRONG" : string
< > val it = "WRONG" : string
< > val it = "WRONG" : string
val it = "OK" : string
val it = "OK" : string
val it = "OK" : string
340c340
< > val it = "WRONG" : string
val it = "OK" : string
356c356
< > val it = "WRONG" : string
val it = "OK" : string
365,366c365,366
< > val it = "WRONG" : string
< > val it = "WRONG" : string
val it = "OK" : string
val it = "OK" : string
500c500
< User: 0.021 System: 0.000 GC: 0.000 Real: 0.021
val test3 = true : bool
945c945
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
1079c1079
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
1081,1086c1081,1104
< - > val fail1 = ~1073741825 : int
< - > val fail2 = 1073741824 : int
< - > val fail3 = ~1073741825 : int
< - > val fail4 = 1073741824 : int
< - > val fail5 = 0wx80000000 : word
< - > val fail6 = 0wx80000000 : word
! Toplevel input:
! val fail1 = ~1073741825;
! ^^^^^^^^^^^
! Lexical error: integer constant is too large.
! Toplevel input:
! val fail2 = 1073741824;
! ^^^^^^^^^^
! Lexical error: integer constant is too large.
! Toplevel input:
! val fail3 = ~0x40000001;
! ^^^^^^^^^^^
! Lexical error: integer constant is too large.
! Toplevel input:
! val fail4 = 0x40000000;
! ^^^^^^^^^^
! Lexical error: integer constant is too large.
! Toplevel input:
! val fail5 = 0w2147483648;
! ^^^^^^^^^^^^
! Lexical error: word constant is too large.
! Toplevel input:
! val fail6 = 0wx80000000;
! ^^^^^^^^^^^
! Lexical error: word constant is too large.
1120c1138
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
1267c1285
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
1317c1335
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
1463c1481
< Moscow ML version 2.10
Moscow ML version 2.01a (January 2004)
bash-3.2$
The text was updated successfully, but these errors were encountered:
After build and install of mosml from the sources and performing the test, it fails with:
bash-3.2$ cd ${HOME}/src/test
bash-3.2$ make clean
rm -f result
bash-3.2$ make test
make: *** No rule to make target `test'. Stop.
bash-3.2$ make
rm -f result
mosml -P full test.sml > result 2>&1
mosml -P full < ovlfail.sml >> result 2>&1
mosml -P full < constfai.sml >> result 2>&1
mosml -P full < testcon.sml >> result 2>&1
mosml -P full < testty.sml >> result 2>&1
mosml -P full < typerr.sml >> result 2>&1
mosml -P full < recfail.sml >> result 2>&1
bash-3.2$ !di
diff result result.ok
1c1
< Moscow ML version 2.10
The text was updated successfully, but these errors were encountered: