TH_repUnboxedTuples.stderr 715 Bytes
Newer Older
1 2 3 4 5
CaseE (UnboxedTupE [LitE (CharL 'b'),ConE GHC.Types.False]) [Match (UnboxedTupP [LitP (CharL 'a'),ConP GHC.Types.True []]) (NormalB (UnboxedTupE [LitE (StringL "One"),LitE (IntegerL 1)])) [],Match (UnboxedTupP [LitP (CharL 'b'),ConP GHC.Types.False []]) (NormalB (UnboxedTupE [LitE (StringL "Two"),LitE (IntegerL 2)])) [],Match (UnboxedTupP [WildP,WildP]) (NormalB (UnboxedTupE [LitE (StringL "Three"),LitE (IntegerL 3)])) []]
case (# 'b', GHC.Types.False #) of
    (# 'a', GHC.Types.True #) -> (# "One", 1 #)
    (# 'b', GHC.Types.False #) -> (# "Two", 2 #)
    (# _, _ #) -> (# "Three", 3 #)
Ben Gamari's avatar
Ben Gamari committed
6 7

TH_repUnboxedTuples.hs:18:13: warning:
8
    Pattern match is redundant
Ben Gamari's avatar
Ben Gamari committed
9
    In a case alternative: (# 'a', True #) -> ...