summaryrefslogtreecommitdiff
path: root/test/files/run/t8048a
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-12-10 14:24:48 +0100
committerEugene Burmako <xeno.by@gmail.com>2013-12-10 23:11:13 +0100
commitbd615c62ac4b03816d681a9a0fc717b5bc5d5cea (patch)
treef4d7b6cff7d97688a8f44658e953d83fd95d8f4b /test/files/run/t8048a
parentb345b42cac64aa97e3bbcc6f14ef8f08214ab56f (diff)
downloadscala-bd615c62ac4b03816d681a9a0fc717b5bc5d5cea.tar.gz
scala-bd615c62ac4b03816d681a9a0fc717b5bc5d5cea.tar.bz2
scala-bd615c62ac4b03816d681a9a0fc717b5bc5d5cea.zip
refactors macroExpandApply
Moves some code around to clearly define the concepts that the method operates on: 1) `innerPt`, which is expected type provided by the macro def return type, 2) `outerPt`, which is expected type provided by the enclosing context. Once everything is clearly defined, the gist of the expander fits in a few lines in its end. If blackbox, do this. If whitebox, do that. Note that unlike the subsequent commit, this commit doesn’t change the way how macro expansion works. It just clears everything out, so that the upcoming changes can be applied in a concise and comprehensible manner.
Diffstat (limited to 'test/files/run/t8048a')
0 files changed, 0 insertions, 0 deletions