datamapper/dm-core — pull request #150 by d11wtq (2011-10-09 13:25:40+00:00)
Title: Change Direction/Operator precedence (fixes regression at d4377a9ee407b48)

`Direction` descends from `Operator`, yet it appears *after* `Operator` in the `case..when` statement here. As a result, any `Direction` used here is rebuilt from the concrete class, which makes it impossible to subclass (as I need to do for part of an extension).