diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-05-31 15:19:49 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2016-05-31 15:49:33 +1000 |
commit | 7b132f39b82e4fc47cd95eadce9e3f22da8c8d82 (patch) | |
tree | b4f07a4be51dd1e92e8fdfc0b6756bc4946065e3 /test/junit | |
parent | 8f567bc9c01e29624f5b7fcce40a0ee7fe261c08 (diff) | |
download | scala-7b132f39b82e4fc47cd95eadce9e3f22da8c8d82.tar.gz scala-7b132f39b82e4fc47cd95eadce9e3f22da8c8d82.tar.bz2 scala-7b132f39b82e4fc47cd95eadce9e3f22da8c8d82.zip |
Avoid tree sharing with substituteThis
The underlying transformer has a by-name parameter for the
to provide the `to` tree, but this was strict in the layers
of API above.
Tree sharing is frowned upon in general as it leads to cross
talk when, e.g., the erasure typechecker mutates the
`tpe` field of the shared tree in different context.
Diffstat (limited to 'test/junit')
0 files changed, 0 insertions, 0 deletions