Skip to content

Conversation

@smarter
Copy link
Member

@smarter smarter commented Nov 26, 2019

This makes the compiler output more stable and avoids overcompilation
during incremental compilation due to context bounds parameters changing
name. This is still not fine-grained enough as noted in the
documentation of CompilationUnit#freshNames.

To work properly, this requires us to always have a compilation unit set
in the context before compiling code, which is a good idea anyway (would
be nice to improve the API to make this harder to screw up).

@smarter smarter force-pushed the fresh-names-per-unit branch 2 times, most recently from 2f4c303 to 5a04232 Compare November 26, 2019 19:35
This makes the compiler output more stable and avoids overcompilation
during incremental compilation due to context bounds parameters changing
name. This is still not fine-grained enough as noted in the
documentation of CompilationUnit#freshNames.

To work properly, this requires us to always have a compilation unit set
in the context before compiling code, which is a good idea anyway (would
be nice to improve the API to make this harder to screw up).
@smarter smarter force-pushed the fresh-names-per-unit branch from 5a04232 to e07a728 Compare December 2, 2019 12:52
@smarter smarter merged commit 7185680 into scala:master Dec 2, 2019
@smarter smarter deleted the fresh-names-per-unit branch December 2, 2019 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants