File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -527,6 +527,7 @@ runGhcLibParser str
527527runGhcLibParser str = case runGhcLibParserWithExtensions almostAllExtensions str of
528528 PFailed {}
529529 | ' #' `elem` str -> runGhcLibParserWithExtensions noUnboxed str
530+ | ' *' `elem` str -> runGhcLibParserWithExtensions noStarIsType str
530531 | " pattern" `isInfixOf` str -> runGhcLibParserWithExtensions noPatternSynonyms str
531532 res -> res
532533
@@ -556,6 +557,9 @@ noUnboxed =
556557noPatternSynonyms :: EnumSet. EnumSet Extension
557558noPatternSynonyms = EnumSet. delete PatternSynonyms almostAllExtensions
558559
560+ noStarIsType :: EnumSet. EnumSet Extension
561+ noStarIsType = EnumSet. delete StarIsType almostAllExtensions
562+
559563runGhcLibParserWithExtensions ::
560564 EnumSet. EnumSet Extension ->
561565 String ->
You can’t perform that action at this time.
0 commit comments