Skip to content

Commit bf764a1

Browse files
use coerce instead of unExt (from michaelpj)
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
1 parent c8e84c6 commit bf764a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hls-overloaded-record-dot-plugin/src/Ide/Plugin/OverloadedRecordDot.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ codeActionProvider :: PluginMethodHandler IdeState 'TextDocumentCodeAction
136136
codeActionProvider ideState pId (CodeActionParams _ _ caDocId caRange _) = pluginResponse $ do
137137
nfp <- getNormalizedFilePath (caDocId ^. L.uri)
138138
pragma <- getFirstPragma pId ideState nfp
139-
CCRSR crsMap (map unExt -> exts) <- collectConvRecSels' ideState nfp
139+
CCRSR crsMap (coerce -> exts) <- collectConvRecSels' ideState nfp
140140
let actions = map (mkCodeAction nfp exts pragma) (RangeMap.filterByRange caRange crsMap)
141141
pure $ List actions
142142
where

0 commit comments

Comments
 (0)