Commit b218241d authored by's avatar
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
Supports Markdown
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