summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/ExpressionSigNamed.hs
blob: de91b00c6b640bc3107ca5706267b5283e8ebedc (plain)
1
2
3
4
5
6
{-# LANGUAGE PartialTypeSignatures, NamedWildCards #-}
module ExpressionSigNamed where

bar :: _a -> _a
bar True  = (False :: _a)
bar False = (True :: _a)