Skip to content

Commit 74680fd

Browse files
committed
Compare Names directly in matchMethod
1 parent 6f05c56 commit 74680fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeAction.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ minDefToMethodGroups hsc gblEnv methods minDef = makeMethodGroup <$> go minDef
185185

186186
matchMethod n =
187187
map (makeMethodDefinition hsc gblEnv)
188-
$ filter ((== printOutputable n) . printOutputable . fst) methods
188+
$ filter ((== n) . fst) methods
189189
#if __GLASGOW_HASKELL__ >= 913
190190
go (Var lmn) = pure $ matchMethod (unLoc lmn)
191191
#else

0 commit comments

Comments
 (0)