diff options
author | Martin Odersky <odersky@gmail.com> | 2016-10-20 18:20:57 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-10-20 18:21:20 +0200 |
commit | 69c930023da720c1791ef41a8231cfe64910951b (patch) | |
tree | a293dfb3444ee5b39983e83986df4444d5f0b0bc /src/scala/annotation/internal/Alias.scala | |
parent | 259332c9bbc127a6936e2d53bbc609db9533f0f9 (diff) | |
download | dotty-69c930023da720c1791ef41a8231cfe64910951b.tar.gz dotty-69c930023da720c1791ef41a8231cfe64910951b.tar.bz2 dotty-69c930023da720c1791ef41a8231cfe64910951b.zip |
Move files out of the dotty package
- Remove unused classes Pair and Singleton.
- Move classes from dotty.annotation.internal
to scala.annotation.internal.
The only classes remaining now are in dotty.runtime
and DottyPredef. We should probably do something about them
as well at some point.
Diffstat (limited to 'src/scala/annotation/internal/Alias.scala')
-rw-r--r-- | src/scala/annotation/internal/Alias.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/scala/annotation/internal/Alias.scala b/src/scala/annotation/internal/Alias.scala new file mode 100644 index 000000000..e3f56e70c --- /dev/null +++ b/src/scala/annotation/internal/Alias.scala @@ -0,0 +1,10 @@ +package scala.annotation.internal + +import scala.annotation.Annotation + +/** An annotation to record a Scala2 pickled alias. + * @param aliased A TermRef pointing to the aliased field. + */ +class Alias(aliased: Any) extends Annotation { + +} |