Commit eb6f5d31 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test 'gadt/termination' passes#

We thought that Jim Apple's (rather complicated) test
'gadt/termination' was failing because of the move from "left/right"
in coercions to "Nth"; see the comments in Trac #1999.

However it turns that the test was failing because of an outright bug
in the 7.2 type checker, fixed by Changeset
4ed2634b.  (This bug meant that type
synonyms in given constraints weren't being expanded properly.
See test typecheck/should_compile/GivenTypeSynonym.)

So now this bug is fixed, Jim's program compiles again!  (We were
too quick to assume the problem was with the change to FC.)
parent c22dc038
......@@ -70,7 +70,7 @@ test('karl2', normal, compile, [''])
test('data1', normal, compile, [''])
test('data2', normal, compile, [''])
test('termination', expect_broken(1999), compile, [''])
test('termination', normal, compile, [''])
test('set', normal, compile, [''])
test('scoped', normal, compile, [''])
test('gadt-escape1', normal, compile, [''])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment