diff options
author | Paul Phillips <paulp@improving.org> | 2013-04-26 20:40:10 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-26 22:00:40 -0700 |
commit | df3cae79e7fb40b24b40bcd7a59cbd6b37247e92 (patch) | |
tree | daa318fdeb777f8c2c64720af360c7ef89fec65b /src | |
parent | 0a23852d9b434d7aef734687474b1c3e79881a9b (diff) | |
download | scala-df3cae79e7fb40b24b40bcd7a59cbd6b37247e92.tar.gz scala-df3cae79e7fb40b24b40bcd7a59cbd6b37247e92.tar.bz2 scala-df3cae79e7fb40b24b40bcd7a59cbd6b37247e92.zip |
SI-7426 Crash in pickler.
I wonder if the supply of copy-pasted code, and the bugs
which always accompany it, will ever run low. Here we have
a couple hundred lines of tree traversal which appears
roughly identical in structure to a different couple hundred
lines of tree traversal, except one calls methods called
putXXX and the other calls methods called writeXXX.
Except there was one call to writeXXX among all the putXXX
calls. Guess where it was crashing.
This entire file should be expunged.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala b/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala index e8b0cd2696..c3aded2b2d 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/Pickler.scala @@ -293,7 +293,6 @@ abstract class Pickler extends SubComponent { putTree(definition) */ case Template(parents, self, body) => - writeNat(parents.length) putTrees(parents) putTree(self) putTrees(body) |