summaryrefslogtreecommitdiff
path: root/test/files/run/t5971.check
diff options
context:
space:
mode:
authorAleksandar Prokopec <axel22@gmail.com>2012-06-27 14:40:39 +0200
committerAleksandar Prokopec <axel22@gmail.com>2012-06-27 14:40:39 +0200
commitba542ba60836cd89e89ac1e9efbc46be14d766f3 (patch)
treeaaed7ebc8d6bed7d8fbefeb23c43741747b5f5c5 /test/files/run/t5971.check
parent161b58358ea8685aea26cdfd2fc2d689ce7414e7 (diff)
downloadscala-ba542ba60836cd89e89ac1e9efbc46be14d766f3.tar.gz
scala-ba542ba60836cd89e89ac1e9efbc46be14d766f3.tar.bz2
scala-ba542ba60836cd89e89ac1e9efbc46be14d766f3.zip
Fix SI-5971.
When using `AbstractTransformed` abstract inner class in views in order to force generating bridges, one must take care to push the corresponding collection trait (such as `Iterable` or `Seq`) as far as possible to the left in the linearization order -- otherwise, overridden methods from these traits can override the already overridden methods in view. This was the case with `takeWhile`.
Diffstat (limited to 'test/files/run/t5971.check')
-rw-r--r--test/files/run/t5971.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t5971.check b/test/files/run/t5971.check
new file mode 100644
index 0000000000..0c36a1ff02
--- /dev/null
+++ b/test/files/run/t5971.check
@@ -0,0 +1,4 @@
+r,b
+r
+a,b
+r,a,b \ No newline at end of file