2024-11-01 15:24 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000035mercuryBugpublic2009-08-19 12:57
Reporterpetdr 
Assigned Towangp 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000035: unsatisfied typeclass constraints error message mentions *satisfied* constraints
DescriptionThe attached program gives the following error

% missing_constraints.m:030: In clause for type class method implementation:
% missing_constraints.m:030: unsatisfiable typeclass constraints:
% missing_constraints.m:030: `missing_constraints.t1(int)' and
% missing_constraints.m:030: `missing_constraints.t2(int)'.

but the typeclass constraint t1(int) exists, only t2(int) is missing.

Working out which constraint is missing when the list contains a lot of constraints in time consuming and thus I think the compiler should only report those constraints which are needed.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000182

wangp (developer)

Fixed today.
+Notes

-Issue History
Date Modified Username Field Change
2008-01-08 14:38 petdr New Issue
2008-01-08 14:38 petdr File Added: missing_constraints.m
2009-08-18 11:56 petdr Status new => assigned
2009-08-18 11:56 petdr Assigned To => wangp
2009-08-19 12:57 wangp Note Added: 0000182
2009-08-19 12:57 wangp Status assigned => closed
2009-08-19 12:57 wangp Resolution open => fixed
+Issue History