Open GoogleCodeExporter opened 9 years ago
The error originates from Infer2.hs:1435
; thingsToUnify <- down tauExpect tauC
; eitherInfo <- mguStar vsC thingsToUnify
; case eitherInfo of
Right(s,x,y) -> badRefine pat t s x y -- <<<<<<<<<<<
Left(psi,truths) ->
do { k2 <- addUnifier psi (addPVS vsC k)
Original comment by ggr...@gmail.com
on 14 Dec 2007 at 12:33
revision 57. on branches/potentially-unsound
Original comment by ggr...@gmail.com
on 14 Dec 2007 at 1:01
revision 58 is a cleanup.
57+58 are in the patch.
Original comment by ggr...@gmail.com
on 18 Dec 2007 at 1:50
Attachments:
I do not think that the above patches are good.
Anyway, the error is different now:
**** Near File: issue48-SetEmulation.omg
line: 53 column: 1
While inferring the type of the pattern: Eq
we expected it to have type: Equal {exclude _b _c} _c
but we computed type: Equal _e _e
where types have kinds:
_b:Tag
_c:Row Tag *0
_d:*1
_e:_d
but, the current refinement fails because _c != {exclude _b _c}.
Sometimes reordering the patterns can fix this.
Original comment by ggr...@gmail.com
on 12 Jan 2011 at 2:18
Original issue reported on code.google.com by
ggr...@gmail.com
on 13 Dec 2007 at 11:24