Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Some cases of assignment in conditional do not warn as in MRI #3757
JRuby 9.1 (HEAD)
We should display the same warnings for "assignment in conditional" as in MRI.
The following cases differ, which prevents MRI's TestRubyOptions#test_assignment_in_conditional from passing. These are the only remaining issues for that test to be green.
Here's output comparing JRuby and MRI: