Commit 888b964b authored by John van Groningen's avatar John van Groningen
Browse files

add alternative for NewTypePatterns in function checkMacro

parent 7d7b26bd
......@@ -1014,6 +1014,9 @@ instance checkMacro CasePatterns where
# (patterns, ea)
= checkMacro topLevel patterns ea
= (BasicPatterns type patterns, ea)
checkMacro topLevel (NewTypePatterns type patterns) ea
# (patterns, ea) = checkMacro topLevel patterns ea
= (NewTypePatterns type patterns, ea)
checkMacro topLevel (DynamicPatterns patterns) ea
# (patterns, ea)
= checkMacro topLevel patterns ea
......
Markdown is supported
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