Skip to content

Commit f4f30f8

Browse files
authored
Merge pull request #1286 from GambolingPangolin/disambiguate-import
Qualifies use of (!?) in order to build against extra 1.7.10
2 parents 920a58f + bbfccca commit f4f30f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hint/Fixities.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ redundantInfixBracket fixities i parent child
6262
| i == 0 = (c, p)
6363
| otherwise = (p, c)
6464
in
65-
case compareFixity <$> (fixities !? occNameString lop) <*> (fixities !? occNameString rop) of
65+
case compareFixity <$> (fixities Data.Map.!? occNameString lop) <*> (fixities Data.Map.!? occNameString rop) of
6666
Just (False, r)
6767
| i == 0 -> not (needParenAsChild cr || r)
6868
| otherwise -> r

0 commit comments

Comments
 (0)