Commit cead06ef authored by Simon Peyton Jones's avatar Simon Peyton Jones

Test Trac #6022

parent 48bafff1
module T6022 where
f x = x == head
No instance for (Eq ([a] -> a)) arising from a use of `=='
Possible fix: add an instance declaration for (Eq ([a] -> a))
In the expression: x == head
In an equation for `f': f x = x == head
......@@ -273,3 +273,4 @@ test('T5684', normal, compile_fail, [''])
test('T5858', normal, compile_fail, [''])
test('T5957', normal, compile_fail, [''])
test('T6001', normal, compile_fail, [''])
test('T6022', normal, compile_fail, [''])
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