Commit 3c48b062 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Merge branch 'master' of darcs.haskell.org:/srv/darcs//testsuite

parents c085b2d0 cb9e4492
:set -XScopedTypeVariables
let f = (\(x :: a, y :: a) -> [x, "hi"])
let f = (\(x :: a, y :: a) -> [x, y])
T7264.hs:13:19:
Couldn't match type `a' with `forall r. r -> String'
`a' is untouchable
inside the constraints ()
bound by the inferred type of mkFoo2 :: a -> Maybe Foo
at T7264.hs:13:1-32
`a' is a rigid type variable bound by
the inferred type of mkFoo2 :: a -> Maybe Foo at T7264.hs:13:1
Expected type: a -> Foo
......
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