summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-08-17 07:56:01 -0700
committerPaul Phillips <paulp@improving.org>2013-08-17 10:58:12 -0700
commitdc872cd1fda84d04dc4de7789a21517902322d68 (patch)
tree7695580e4563ecfa7c25e5986e42b19628ce14ef /tools
parentb084cab0aa474e9f650c391fa64464734c276597 (diff)
downloadscala-dc872cd1fda84d04dc4de7789a21517902322d68.tar.gz
scala-dc872cd1fda84d04dc4de7789a21517902322d68.tar.bz2
scala-dc872cd1fda84d04dc4de7789a21517902322d68.zip
Broke up typed1's giant pattern match.
Another level of dispatch based on what trees on can expect to see during what mode. This should be beneficial for both performance (smaller methods, fewer type tests) and correctness (prevent trees from reaching inappropriate typing methods by construction rather than via ad hoc checks.) This work also revealed that UnApply trees never reach here, so I removed typedUnApply as dead code.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions