What does `:_*` (colon underscore star) do in Scala?

前端 未结 4 1783
悲&欢浪女
悲&欢浪女 2020-11-22 06:24

I have the following piece of code from this question:

def addChild(n: Node, newChild: Node) = n match {
  case Elem(prefix, label, attribs, scope, child @ _         


        
4条回答
提交回复
热议问题