mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
compiler/ml_unify_gen_construct.m:
Add missing casts after OR-ing together the rvals of the arguments
packed together into a word.
tests/hard_coded/local_args.{m,exp}:
A regression test for this bug.
tests/hard_coded/Mmakefile:
Enable the new test case.
4 lines
462 B
Plaintext
4 lines
462 B
Plaintext
thing(no, no, 42i8, yes, yes, yes)
|
|
thing(no, no, 42i8, yes, yes, no)
|
|
three(three(one(thing(no, no, 42i8, yes, yes, yes)), one(thing(no, yes, 43i8, no, yes, yes)), one(thing(no, yes, 43i8, no, yes, no))), three(one(thing(no, no, 42i8, yes, yes, yes)), one(thing(no, yes, 43i8, no, yes, yes)), one(thing(no, yes, 43i8, no, yes, no))), three(one(thing(no, no, 42i8, yes, yes, yes)), one(thing(no, yes, 43i8, no, yes, yes)), one(thing(no, yes, 43i8, no, yes, no))))
|