From ba542ba60836cd89e89ac1e9efbc46be14d766f3 Mon Sep 17 00:00:00 2001 From: Aleksandar Prokopec Date: Wed, 27 Jun 2012 14:40:39 +0200 Subject: 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`. --- test/files/run/t5971.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/run/t5971.check (limited to 'test/files/run/t5971.check') 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 -- cgit v1.2.3