bug805.scala

来自「JAVA 语言的函数式编程扩展」· SCALA 代码 · 共 20 行

SCALA
20
字号
trait MatcherYYY  {  trait NodeImpl;  trait Matchable extends NodeImpl {    protected def doMatch : Unit = {}  }}trait BraceMatcherXXX extends MatcherYYY {  trait NodeImpl extends super.NodeImpl {    def doMatch  (braces : BracePair) : Unit  }  trait BracePair {    trait BraceImpl extends NodeImpl with Matchable {      override def doMatch : Unit = {        super.doMatch;        ();      }    }  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?