Skip to content
Snippets Groups Projects
Unverified Commit 472d1a22 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

Fix comparison with Version::NULL on RHS

This was accounted for in Version::NULL.<=>, but not in Version#<=>,
so these could only be compared if Version::NULL was the left hand
side.

The check had to go above the check that `other` is a version because
`Version::NULL`'s anonymous class does not inherit from `Version`.
(The type check feels like it's probably a smell, but out of scope).
parent 963adfaf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment