aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorliu fengyun <liu@fengy.me>2017-03-07 15:04:53 +0100
committerliu fengyun <liu@fengy.me>2017-03-07 15:04:53 +0100
commitd2c0f1211b771d56f1c062443ab931d37cf1d8ff (patch)
treec05f5938f3461dc474e1f4ca67ced35ffefefc86 /project
parentc90ea6b62de5d70f8855b377688f62c40dfe3a66 (diff)
downloaddotty-d2c0f1211b771d56f1c062443ab931d37cf1d8ff.tar.gz
dotty-d2c0f1211b771d56f1c062443ab931d37cf1d8ff.tar.bz2
dotty-d2c0f1211b771d56f1c062443ab931d37cf1d8ff.zip
support merging companion objects in expanded trees
Previous implementation is problematic when there are multiple transforms before typer: 1. There might be objects needing merging that only exist in the expanded trees, which cannot be handled by the previous algorithm. 2. There may be companion object and class defined only in the expanded trees, the previous algorithm doesn't create links for them. This PR simplifies the companion object merging logic and fixes the problems above. In fact, this PR supports multiple pre-typer transform during expansion. The protocol is that the expansion of a MemberDef is either a flattened thicket or a non-thicket tree.
Diffstat (limited to 'project')
0 files changed, 0 insertions, 0 deletions