summaryrefslogtreecommitdiff
path: root/test/files/pos/S5.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/S5.scala')
-rw-r--r--test/files/pos/S5.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/S5.scala b/test/files/pos/S5.scala
index 08f5b2a6eb..f0b66a6e68 100644
--- a/test/files/pos/S5.scala
+++ b/test/files/pos/S5.scala
@@ -16,7 +16,7 @@ abstract class M() {
// module body of M
}
}
-abstract class N() {
+trait N {
val _N: N = this;
val n: _N.n = new _N.n();
val _M: M;
@@ -26,5 +26,5 @@ abstract class N() {
}
}
object O {
- val system = new M() with N() {}
+ val system = new M() with N {}
}