summaryrefslogtreecommitdiff
path: root/test/files/pos/S5.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2005-10-03 13:42:39 +0000
committerMartin Odersky <odersky@gmail.com>2005-10-03 13:42:39 +0000
commit2994973970bcba6ff90d7788e79f2042cc11deaf (patch)
treeb90fbfc9d5b12b01f2815edabb2f0eeb17655a94 /test/files/pos/S5.scala
parent159a3633b593bf2b0a10f4f4e218489b2bba03bc (diff)
downloadscala-2994973970bcba6ff90d7788e79f2042cc11deaf.tar.gz
scala-2994973970bcba6ff90d7788e79f2042cc11deaf.tar.bz2
scala-2994973970bcba6ff90d7788e79f2042cc11deaf.zip
*** empty log message ***
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 {}
}