diff options
author | Paul Phillips <paulp@improving.org> | 2013-02-08 13:10:46 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-02-08 17:41:23 -0800 |
commit | 13caa498fb856ac1de3b851ddc413e36d728c3a6 (patch) | |
tree | 798c2207e9ea108f9e9905c454aeca0e0f097355 /test/files/run/t7106/Analyzed_1.scala | |
parent | 22341e7ab9722cf212c01e9830014648849f8e70 (diff) | |
download | scala-13caa498fb856ac1de3b851ddc413e36d728c3a6.tar.gz scala-13caa498fb856ac1de3b851ddc413e36d728c3a6.tar.bz2 scala-13caa498fb856ac1de3b851ddc413e36d728c3a6.zip |
Fix for paramaccessor alias regression.
A binary incompatibility with 2.10.0 revealed a bug I had
introduced in c58647f5f2.
Diffstat (limited to 'test/files/run/t7106/Analyzed_1.scala')
-rw-r--r-- | test/files/run/t7106/Analyzed_1.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/t7106/Analyzed_1.scala b/test/files/run/t7106/Analyzed_1.scala new file mode 100644 index 0000000000..a2ddebceed --- /dev/null +++ b/test/files/run/t7106/Analyzed_1.scala @@ -0,0 +1,14 @@ + +abstract class Base0 { def p2: Int } +class Base(p1: Int, override val p2: Int) extends Base0 + +abstract class Sub1(q1: Int, q2: Int, q3: Int) extends Base(q1, q2) { + def bippy1 = q1 + def bippy2 = q2 + def bippy3 = q3 +} +abstract class Sub2(q1: Int, q2: Int, q3: Int) extends Base(q1, q2) { + def bippy1 = q1 + def bippy2 = p2 + def bippy3 = q3 +} |