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 89a758d commit 208f269Copy full SHA for 208f269
plugins/hls-refactor-plugin/src/Development/IDE/Plugin/CodeAction.hs
@@ -1474,7 +1474,7 @@ suggestFunctionConstraint df (L _ HsModule {hsmodDecls}) Diagnostic {..} missing
1474
1475
-- | Suggests the removal of a redundant constraint for a type signature.
1476
removeRedundantConstraints :: DynFlags -> ParsedSource -> Diagnostic -> [(T.Text, Rewrite)]
1477
-removeRedundantConstraints df (L _ HsModule {hsmodDecls}) Diagnostic{..}
+removeRedundantConstraints df (makeDeltaAst -> L _ HsModule {hsmodDecls}) Diagnostic{..}
1478
-- • Redundant constraint: Eq a
1479
-- • In the type signature for:
1480
-- foo :: forall a. Eq a => a -> a
0 commit comments