diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-19 19:40:08 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-19 20:15:11 -0800 |
commit | a6a9684f5ba5df146be1f24bd170e97f0b2208ce (patch) | |
tree | b6c610fb4173e0561a2df7487f23fb17b715e2c3 /test/pending/run/bug4704run.scala | |
parent | e512518d25818b4b0381e4a078137734f8eab12f (diff) | |
download | scala-a6a9684f5ba5df146be1f24bd170e97f0b2208ce.tar.gz scala-a6a9684f5ba5df146be1f24bd170e97f0b2208ce.tar.bz2 scala-a6a9684f5ba5df146be1f24bd170e97f0b2208ce.zip |
A better error message for inheritance conflict.
And some tests for pending.
Closes SI-5358.
Diffstat (limited to 'test/pending/run/bug4704run.scala')
-rw-r--r-- | test/pending/run/bug4704run.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pending/run/bug4704run.scala b/test/pending/run/bug4704run.scala new file mode 100644 index 0000000000..af488a56c7 --- /dev/null +++ b/test/pending/run/bug4704run.scala @@ -0,0 +1,10 @@ +trait MM { + protected def method = "bip" +} +trait NN { + protected def method = "bop" +} +trait OOOOO extends MM with NN { + override protected def method = super[MM].method + super[NN].method + override def hashCode = super[MM].hashCode + super[NN].hashCode +} |