View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000123 | mercury | Bug | public | 2009-12-18 20:25 | 2010-01-12 14:12 | ||||
Reporter | mva | ||||||||
Assigned To | wangp | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000123: typeclass instance clause type mix. | ||||||||
Description | In a typeclass instance, when the clause of a predicate is defined directly in the instance, qualifying certain types result in the compiler mixing up types. See the attached example, where simply adding :_ to a type makes the compiler complain about wrong typing; while doing the same but with the predicate defined outside the instance (via pred(...) is) works perfectly fine. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-12-18 20:25 | mva | New Issue | |
2009-12-18 20:25 | mva | File Added: test1.m | |
2010-01-12 14:12 | wangp | Note Added: 0000242 | |
2010-01-12 14:12 | wangp | Status | new => resolved |
2010-01-12 14:12 | wangp | Resolution | open => fixed |
2010-01-12 14:12 | wangp | Assigned To | => wangp |