mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Estimated hours taken: 2.5 Branches: main Fix a bug reported by Ondrej Bojar (obo [AT] cuni [DOT] cz) which caused seg faults in io.read_binary. library/construct.m: Expand equivalence types in get_functor/5, get_functor_2/6, and construct/4. This is needed in order to have the proper type_info to use when substituting type parameters in the list of argument types for the functor. tests/hard_coded/Mmakefile: tests/hard_coded/construct_bug.m: tests/hard_coded/construct_bug.exp: tests/hard_coded/construct_bug_submodule.m: Add a new regression test.
4 lines
104 B
Plaintext
4 lines
104 B
Plaintext
Saved the map to file: temp.term
|
|
Loaded the map from file: temp.term
|
|
The representations are identical.
|