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 8b0d729 commit a4c15b1Copy full SHA for a4c15b1
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