diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-08-01 09:58:23 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-02 15:51:21 +0200 |
commit | f7164b871530a68b100d540b876187036c1c6cbc (patch) | |
tree | fe2372803470778cafea0dd65ab1e089f3fbf231 /lib | |
parent | a0a63c4558018a5e75149a45f7df775f731c26f1 (diff) | |
download | scala-f7164b871530a68b100d540b876187036c1c6cbc.tar.gz scala-f7164b871530a68b100d540b876187036c1c6cbc.tar.bz2 scala-f7164b871530a68b100d540b876187036c1c6cbc.zip |
moves Expr from api to base
This is the first step in supporting serialization for exprs and type tags.
Generally speaking universes and mirrors cannot be serialized (even not taking
into account all the amount of scalac-specific transient stuff, java mirrors
use classloaders, which are not serializable).
Hence we can only serialize tree and type creators, and deserialize them into
the mirror we surely know will be there - the scala.reflect.basis.rootMirror.
To do that we need to have exprs in scala.reflect.base. Luckily all the trees
are already in base, we only need to move a single file to scala-library.jar.
Another good news is that reification logic is simplified, because we don't
have to special case exprs as being defined in ApiUniverseClass.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions