diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-14 11:58:59 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-16 14:25:40 +0100 |
commit | fe20b9064fca765a38345a09aa484bfb537aa3c0 (patch) | |
tree | 99cce659b7c2fe7d79fd5c9c87ba51bcb96a7545 /tests/pickling/simple.scala | |
parent | 97b6985c34915b58e0c81fbab464f4bd532c27d0 (diff) | |
download | dotty-fe20b9064fca765a38345a09aa484bfb537aa3c0.tar.gz dotty-fe20b9064fca765a38345a09aa484bfb537aa3c0.tar.bz2 dotty-fe20b9064fca765a38345a09aa484bfb537aa3c0.zip |
Pickle and unpickle type trees
Lots of other changes to make positions work out everywhere.
One important change is that now trees can be shared, just
as types can. This change improves memory requirements (a bit)
and also makes positions in shared trees more robust.
Diffstat (limited to 'tests/pickling/simple.scala')
-rw-r--r-- | tests/pickling/simple.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pickling/simple.scala b/tests/pickling/simple.scala new file mode 100644 index 000000000..243b41117 --- /dev/null +++ b/tests/pickling/simple.scala @@ -0,0 +1,6 @@ +object Simple {} +/*class Simple { + val x = 3 + val y: String = "" +}*/ + |