diff options
author | liu fengyun <liu@fengy.me> | 2017-02-02 02:10:28 +0100 |
---|---|---|
committer | liu fengyun <liu@fengy.me> | 2017-02-02 02:18:11 +0100 |
commit | 33ee93abd302fb30b040c52551650e0a4bba61e7 (patch) | |
tree | 27e49c6ca9abd344a60c78fe014472a30aa214e7 /README.md | |
parent | b5185f1b4481ef61243741c7f7ed0ba8f696776b (diff) | |
download | dotty-33ee93abd302fb30b040c52551650e0a4bba61e7.tar.gz dotty-33ee93abd302fb30b040c52551650e0a4bba61e7.tar.bz2 dotty-33ee93abd302fb30b040c52551650e0a4bba61e7.zip |
support pre-typer transform of trees
Currently `mergeCompanionDefs` assume `ModuleDef` is expanded
exactly to `module val; module class`. To enable more
general pre-typer transform, we need to weaken the assumption
to that the first two elements of the thicket must be
`module val; module class`.
This change will enable transform def macros defined inside
an object, as well as other pre-typer transforms.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions