Files
mercury/tests/hard_coded/string_string.exp
Ralph Becket 03ba699c40 Fix a bug in string.string reported by Peter Ross.
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.
2005-08-04 04:45:19 +00:00

5 lines
55 B
Plaintext

leaf
branch(leaf, leaf)
[1, 2, 3]
1.23400000000000 - 5