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/UnsafeNonvariant.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/UnsafeNonvariant.scala')
-rw-r--r-- | src/scala/annotation/internal/UnsafeNonvariant.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/scala/annotation/internal/UnsafeNonvariant.scala b/src/scala/annotation/internal/UnsafeNonvariant.scala new file mode 100644 index 000000000..b33df65d6 --- /dev/null +++ b/src/scala/annotation/internal/UnsafeNonvariant.scala @@ -0,0 +1,8 @@ +package scala.annotation.internal + +import scala.annotation.Annotation + +/** This annotation is used as a marker for unsafe + * instantiations in asSeenFrom. See TypeOps.asSeenfrom for an explanation. + */ +class UnsafeNonvariant extends Annotation |