Commit dd3a6d27 authored by Gergő Érdi's avatar Gergő Érdi
Browse files

Add source file for new test that checks that as-patterns are rejected

in pattern synonym definitions
parent b7f51d60
{-# LANGUAGE PatternSynonyms #-}
module ShouldFail where
pattern P x y <- x@(Just y)
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