summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr
blob: d511b93d78a5a743088e78c1bb23e7051eaa27a8 (plain)
1
2
3
4
5

TyAppPat_PatternBinding.hs:9:1: error:
    • Binding type variables is not allowed in pattern bindings
    • In the pattern: Just @a x
      In a pattern binding: Just @a x = Just (5 :: Integer)