mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
library/io.m:
As above. Also, when several exported predicates use the same
utility predicate, pass their $pred to the utility for use
in exception messages.
tests/hard_coded/read_min_int.exp*:
Expect the updated exception messages.
14 lines
343 B
Plaintext
14 lines
343 B
Plaintext
foo(-2147483648)
|
|
foo(2147483647)
|
|
foo(2147483648)
|
|
foo(-9223372036854775808)
|
|
foo(9223372036854775807)
|
|
predicate `io.read'/3: the term read did not have the right type
|
|
|
|
foo(-2147483648)
|
|
foo(2147483647)
|
|
foo(2147483648)
|
|
foo(-9223372036854775808)
|
|
foo(9223372036854775807)
|
|
predicate `io.read_from_string'/6: the term read did not have the right type
|