Aladdin - Scala Bugtracking
[#864] project: compiler priority: low category: bug
submitter assigned to status date submitted
Burak _ fixed 2006-12-10 16:10:30.0
subject bug on matching constants
code
object urldecode {
  27 match {
    case '%'=>
    case '+'=>
  }
}
what happened
Exception in thread "main" scala.MatchError: ConstantPat(%)
        at scala.tools.nsc.matching.PatternMatchers$PatternMatcher.intSwitchToTree(PatternMatchers.scala:907)

what expected no crash
[back to overview]
Changes of this bug report