From 12053fa4d55497fc4df06afd67ba3762019969c3 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Mon, 14 Sep 2015 17:07:23 +0200 Subject: Enable more tests that pass --- tests/run/t6104.scala | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/run/t6104.scala (limited to 'tests/run/t6104.scala') diff --git a/tests/run/t6104.scala b/tests/run/t6104.scala new file mode 100644 index 000000000..ac6d4c77e --- /dev/null +++ b/tests/run/t6104.scala @@ -0,0 +1,8 @@ +class A { Self => + val ok = "ok" + this match { + case me@Self => println(me.ok) + } +} + +object Test extends A with App -- cgit v1.2.3