diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-21 21:44:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-21 21:44:05 +0000 |
commit | c0aebb12202d4a025de7a627987542a3d3a20277 (patch) | |
tree | fb8422820eff4a1d02006b4feaa43ea75e3a0911 /src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala | |
parent | 6c56d71a1712836364826b7b80cceb4c12c102a9 (diff) | |
download | scala-c0aebb12202d4a025de7a627987542a3d3a20277.tar.gz scala-c0aebb12202d4a025de7a627987542a3d3a20277.tar.bz2 scala-c0aebb12202d4a025de7a627987542a3d3a20277.zip |
More performant encoding of tree errors.
Stole two bits from Tree#id to record whether a tree contains an
error tree and whether its subtrees have been checked. This leaves us
with only a single gigatree of headroom for replaying trees in the
presentation compiler. Alert the media.
Review by odersky.
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala b/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala index c071193e0e..289b643ba1 100644 --- a/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala +++ b/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala @@ -36,7 +36,6 @@ abstract class TreeBrowsers { def create(): SwingBrowser = new SwingBrowser(); trait ValidTree extends Tree { - protected def errorSubtrees: List[Tree] = Nil } /** Pseudo tree class, so that all JTree nodes are treated uniformly */ |