| [#774] | project: compiler | priority: low | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Burak | Burak | fixed | 2006-10-11 17:45:54.0 | |
| subject | matching bug causes crash in backend | |||
| code |
object phonebook3 {
import scala.xml.{Node, Elem}
def f(c:Node) = c match {
case x @ Seq(Elem(_,"entry", _, _, _*)) => x
case y @ Seq(Elem(_,"phone", _, _, _*)) => y
}
}
|
|||
| what happened | |
|||
| what expected | no bug | |||
| [back to overview] | ||||
| Burak edited on 2006-10-12 11:04:33.0 |
| was due to missing substitution when reusing pattern node |