summaryrefslogtreecommitdiff
path: root/compiler/deSugar/Desugar.hs
diff options
context:
space:
mode:
authorCsongor Kiss <kiss.csongor.kiss@gmail.com>2016-10-08 11:28:22 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2016-10-08 11:28:58 +0100
commit21647bcd6fe8206840bdcc7b747c7cc60c0c3db8 (patch)
treef2468ec4bc5fc2cc4d05b0102847e84c74b704be /compiler/deSugar/Desugar.hs
parentf2d80de4b6aa7c3b5b9da20d7569907662d39bbe (diff)
downloadhaskell-21647bcd6fe8206840bdcc7b747c7cc60c0c3db8.tar.gz
Fix build
- interaction between backpack and export list refactoring introduced a few syntax errors, and constructor arity mismatches - CPP macro used in backpack was not accepted by clang because of extraneous whitespace Signed-off-by: Csongor Kiss <kiss.csongor.kiss@gmail.com> Reviewers: austin, bgamari, mpickering Reviewed By: mpickering Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2582
Diffstat (limited to 'compiler/deSugar/Desugar.hs')
-rw-r--r--compiler/deSugar/Desugar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/deSugar/Desugar.hs b/compiler/deSugar/Desugar.hs
index 1f589a98eb..28ec706412 100644
--- a/compiler/deSugar/Desugar.hs
+++ b/compiler/deSugar/Desugar.hs
@@ -369,7 +369,7 @@ deSugar hsc_env
; usages <- mkUsageInfo hsc_env mod (imp_mods imports) used_names dep_files merged
-- id_mod /= mod when we are processing an hsig, but hsigs
-- never desugared and compiled (there's no code!)
- ; MASSERT ( id_mod == mod )
+ ; MASSERT( id_mod == mod )
; let mod_guts = ModGuts {
mg_module = mod,