In Java, < has higher priority than ==. In Scala it's vice versa. I wonder why Scala people chose that way? Other binary operator precedences align with Java (exept bitwise ops, but it's understandable why they didn't give special precedences for those).
UPDATE: It was actually a mistake in the language spec, '<' has actually higher priority than '==' in Scala.