Commit b218241d authored by eir@cis.upenn.edu's avatar eir@cis.upenn.edu
Browse files

Test #10589 in typecheck/should_compile/T10589

parent da69358b
{-# LANGUAGE LambdaCase, TypeFamilies #-}
module T10589 where
type family F a where
F a = Bool -> a
foo = (\case True -> 5
False -> 6) :: F Int
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