diff options
author | Paul Phillips <paulp@improving.org> | 2011-11-23 23:09:30 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-11-23 23:09:30 +0000 |
commit | 4cfca8a7f6763fbbaab37a3473d74118b3ec52bc (patch) | |
tree | 0fcd94312cbb08a4c58add11a8cc51bd0c0c9b6a /docs | |
parent | 8e965f00e472398b466bc08da1a2d25f4566a670 (diff) | |
download | scala-4cfca8a7f6763fbbaab37a3473d74118b3ec52bc.tar.gz scala-4cfca8a7f6763fbbaab37a3473d74118b3ec52bc.tar.bz2 scala-4cfca8a7f6763fbbaab37a3473d74118b3ec52bc.zip |
AnnotationInfo inertia takes me into continuati...
AnnotationInfo inertia takes me into continuations.
And kept carrying me until I was carried away. The changes are mostly of
the janitorial variety, just doing my part to make the interesting logic
visible without being buried in low level compiler plumbing.
Added at least one seriously convenient convenience method:
tree modifyType fn
// equivalent to if (tree.tpe == null) tree else tree setType fn(tree.tpe)
This is the analogue to the recently added:
symbol modifyInfo fn
// same idea
It's like having our carpets steam cleaned when we can keep pushing
until machinery stays in the machine and the relevant logic stands
gloriously on top. You'll eventually exclaim, "I didn't even know these
carpets were that color!"
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions