From e51b8845fb20fe3a4e1c655d4b72e2833906bbc2 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 20 Dec 2015 22:00:29 +0100 Subject: The big pending/pos test triage --- tests/pos/t805.scala | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/pos/t805.scala (limited to 'tests/pos/t805.scala') diff --git a/tests/pos/t805.scala b/tests/pos/t805.scala new file mode 100644 index 000000000..a1260a834 --- /dev/null +++ b/tests/pos/t805.scala @@ -0,0 +1,19 @@ +trait MatcherYYY { + trait NodeImpl; + trait Matchable extends NodeImpl { + protected def doMatch : Unit = {} + } +} +trait BraceMatcherXXX extends MatcherYYY { + trait NodeImpl2 extends super.NodeImpl { + def doMatch (braces : BracePair) : Unit + } + trait BracePair { + trait BraceImpl extends NodeImpl2 with Matchable { + override def doMatch : Unit = { + super.doMatch; + (); + } + } + } +} -- cgit v1.2.3