diff options
author | Paul Phillips <paulp@improving.org> | 2013-08-17 07:56:01 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-08-17 10:58:12 -0700 |
commit | dc872cd1fda84d04dc4de7789a21517902322d68 (patch) | |
tree | 7695580e4563ecfa7c25e5986e42b19628ce14ef /tools | |
parent | b084cab0aa474e9f650c391fa64464734c276597 (diff) | |
download | scala-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