mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 17:24:34 +00:00
Estimated hours taken: 1 Branches: main, release Fix a bug in string.string reported by Peter Ross. library/string.m: Bugfix: previously string.value_to_revstrings was not calling univ_value on arguments of functors that are handled specially. This caused spurious "univ_cons" functors to appear in the string representations of some terms. test/hard_coded/string_string.exp: test/hard_coded/string_string.m: Extended the test case for string.string to cover Peter's example.
5 lines
55 B
Plaintext
5 lines
55 B
Plaintext
leaf
|
|
branch(leaf, leaf)
|
|
[1, 2, 3]
|
|
1.23400000000000 - 5
|