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

Test Trac #5130

parent 9ce49f6c
:set -XScopedTypeVariables
(\(x :: a, y :: a) -> [x, "hi"])
<interactive>:1:27:
Couldn't match type `a' with `[Char]'
In the expression: "hi"
In the expression: [x, "hi"]
In the expression: (\ (x :: a, y :: a) -> [x, "hi"])
......@@ -74,3 +74,4 @@ test('T4127a', normal, ghci_script, ['T4127a.script'])
test('T4316', reqlib('mtl'), ghci_script, ['T4316.script'])
test('T4832', normal, ghci_script, ['T4832.script'])
test('T5045', normal, ghci_script, ['T5045.script'])
test('T5130', normal, ghci_script, ['T5130.script'])
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