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.
2 parents 920a58f + bbfccca commit f4f30f8Copy full SHA for f4f30f8
src/Hint/Fixities.hs
@@ -62,7 +62,7 @@ redundantInfixBracket fixities i parent child
62
| i == 0 = (c, p)
63
| otherwise = (p, c)
64
in
65
- case compareFixity <$> (fixities !? occNameString lop) <*> (fixities !? occNameString rop) of
+ case compareFixity <$> (fixities Data.Map.!? occNameString lop) <*> (fixities Data.Map.!? occNameString rop) of
66
Just (False, r)
67
| i == 0 -> not (needParenAsChild cr || r)
68
| otherwise -> r
0 commit comments