We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b4d95 commit 727d28aCopy full SHA for 727d28a
plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs
@@ -769,7 +769,7 @@ suggestExportUnusedTopBinding srcOpt ParsedModule{pm_parsed_source = L _ HsModul
769
770
printExport :: ExportsAs -> T.Text -> T.Text
771
printExport ExportName x = parenthesizeIfNeeds False x
772
- printExport ExportPattern x = "pattern " <> x
+ printExport ExportPattern x = "pattern " <> parenthesizeIfNeeds False x
773
printExport ExportFamily x = parenthesizeIfNeeds True x
774
printExport ExportAll x = parenthesizeIfNeeds True x <> "(..)"
775
0 commit comments