diff options
author | Paul Phillips <paulp@improving.org> | 2010-02-28 00:30:21 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-02-28 00:30:21 +0000 |
commit | 432e16ce906cb1f03aabe26c0e51674780f44625 (patch) | |
tree | a7ef5b095ad3d4cddff9683452e4a3af45a410b5 /lib/msil.jar.desired.sha1 | |
parent | 7476ed45af6cf90f8c0e03f6ed429dcb436baf87 (diff) | |
download | scala-432e16ce906cb1f03aabe26c0e51674780f44625.tar.gz scala-432e16ce906cb1f03aabe26c0e51674780f44625.tar.bz2 scala-432e16ce906cb1f03aabe26c0e51674780f44625.zip |
While working on Any.## I ran across some inter...
While working on Any.## I ran across some interesting tests being made
in TreeBuilder:
val buf = new ListBuffer[(Name, Tree, Position)]
[...]
if (buf.iterator forall (name !=)) ...
This is always true because a Name will never equal a Tuple3. Oh
universal equality, will you never tire of toying with us? Given that
this bug has existed since r12886 one might reasonably question the
necessity of the conditionals falling prey to this, but leaving that
for another day, it should at least check what it's trying to check. No
review.
Diffstat (limited to 'lib/msil.jar.desired.sha1')
0 files changed, 0 insertions, 0 deletions