summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-11-23 23:09:30 +0000
committerPaul Phillips <paulp@improving.org>2011-11-23 23:09:30 +0000
commit4cfca8a7f6763fbbaab37a3473d74118b3ec52bc (patch)
tree0fcd94312cbb08a4c58add11a8cc51bd0c0c9b6a /src/library
parent8e965f00e472398b466bc08da1a2d25f4566a670 (diff)
downloadscala-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 'src/library')
0 files changed, 0 insertions, 0 deletions