Skip to content

Commit 9df12c5

Browse files
bugfix imliedDisables; don't drop ext on the floor
1 parent 60d92aa commit 9df12c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GHC/All.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impliedEnables ext = case Data.List.lookup ext extensionImplications of
174174
impliedDisables :: Extension -> [Extension]
175175
impliedDisables ext = case Data.List.lookup ext extensionImplications of
176176
Just exts -> ext : snd exts
177-
Nothing -> []
177+
Nothing -> [ext]
178178

179179
-- | Parse a Haskell module. Applies the C pre processor, and uses
180180
-- best-guess fixity resolution if there are ambiguities. The

0 commit comments

Comments
 (0)