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