mdr/scalariform — pull request #48 by adriaanm (2012-04-27 13:38:06+00:00)
Title: don't throw a MatchError on `SCALA_210 compare SCALA_28_29`

I encountered this when using today's Eclipse build (scalariform 0.1.2.201204270551):
Problems occurred when invoking code from plug-in: "org.eclipse.search".
scala.MatchError: SCALA_210 (of class scalariform.SCALA_210$)
at scalariform.ScalaVersionGroup$class.compare(ScalaVersions.scala:11)
at scalariform.SCALA_210$.compare(ScalaVersions.scala:20)
at scalariform.SCALA_210$.compare(ScalaVersions.scala:20)
at scala.math.Ordered$class.$greater$eq(Ordered.scala:86)
at scalariform.SCALA_210$.$greater$eq(ScalaVersions.scala:20)
at scalariform.lexer.ScalaOnlyLexer$class.getNumber(ScalaOnlyLexer.scala:468)