Skip to content

Commit 231bf0c

Browse files
committed
Compat with 8.6
1 parent a25b1e3 commit 231bf0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ide/Plugin/Retrie.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ suggestRuleRewrites originatingFile pos ms_mod (L l (HsRules {rds_rules}))
286286
RunRetrieParams {..}
287287
)
288288
]
289-
| L _ (HsRule _ (L _ (_, rn)) _ _ _ _ _) <- rds_rules,
289+
| L _ (HsRule {rd_name = (L _ (_, rn))}) <- rds_rules,
290290
let ruleName = unpackFS rn
291291
]
292292
suggestRuleRewrites _ _ _ _ = []

0 commit comments

Comments
 (0)