Make `->` right assosciative

As per the nix source code 61e816217b/src/libexpr/parser.y (L296-L307)

The bug was found while parsing firefox 5030e5cdc7/pkgs/applications/networking/browsers/firefox/common.nix (L76-L77)
This commit is contained in:
Guillaume Maudoux 2020-11-16 14:30:30 +01:00
parent 26543bb530
commit e2ad934492
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ nixOperators selector =
, {- 13 -}
[binaryL "||" NOr]
, {- 14 -}
[binaryN "->" NImpl]
[binaryR "->" NImpl]
]
data OperatorInfo = OperatorInfo