Add spec for issue#1614.
Fix issue#1614.
Move part of code into fixtures/precedence.rb. Shorten description of
spec.
Improve description of spec for issue#1614
Merge pull request #2489 from darkgrin/issue1614

Fix for issue#1614