Skip to content

Commit

Permalink
Merge pull request #1286 from GambolingPangolin/disambiguate-import
Browse files Browse the repository at this point in the history
Qualifies use of (!?) in order to build against extra 1.7.10
  • Loading branch information
ndmitchell authored Aug 29, 2021
2 parents 920a58f + bbfccca commit f4f30f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hint/Fixities.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ redundantInfixBracket fixities i parent child
| i == 0 = (c, p)
| otherwise = (p, c)
in
case compareFixity <$> (fixities !? occNameString lop) <*> (fixities !? occNameString rop) of
case compareFixity <$> (fixities Data.Map.!? occNameString lop) <*> (fixities Data.Map.!? occNameString rop) of
Just (False, r)
| i == 0 -> not (needParenAsChild cr || r)
| otherwise -> r
Expand Down

0 comments on commit f4f30f8

Please sign in to comment.