diff options
Diffstat (limited to 'frontend/check.icl')
-rw-r--r-- | frontend/check.icl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/check.icl b/frontend/check.icl index 1c2a2f9..50ea4c4 100644 --- a/frontend/check.icl +++ b/frontend/check.icl @@ -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 |