mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 18:03:36 +00:00
Estimated hours taken: 1
Fix a bug in type specialization which caused no-tag types
with user-defined equality to be specialized incorrectly.
compiler/higher_order.m:
Check for user-defined equality before unwrapping
a no-tag type.
tests/hard_coded/Mmakefile:
tests/hard_coded/user_defined_equality.{m,exp}:
Test case.
2 lines
4 B
Plaintext
2 lines
4 B
Plaintext
yes
|