Skip to content
Snippets Groups Projects
Commit 87504d68 authored by Gergő Érdi's avatar Gergő Érdi Committed by Austin Seipp
Browse files

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

in pattern synonym definitions

(cherry picked from commit dd3a6d27)
parent 5c2ba23f
No related merge requests found
{-# LANGUAGE PatternSynonyms #-}
module ShouldFail where
pattern P x y <- x@(Just y)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment