haskell-language-server-2.15.0.0: plugins/hls-case-split-plugin/test/testdata/TIncompleteCaseInsideCompleteCase.expected.hs
{-# LANGUAGE EmptyCase #-}
{-# OPTIONS_GHC -Wall -fmax-uncovered-patterns=99 #-}
module T where
data X = A
| B
| C Int
| D Int Int
| E
| F
foo :: X -> Int
foo x = case x of
A -> 3
a -> case a of
B -> 4
C _ -> 5
D _ _ -> _
E -> _
F -> _