summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/internal/Importers.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflect/scala/reflect/internal/Importers.scala')
-rw-r--r--src/reflect/scala/reflect/internal/Importers.scala14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/reflect/scala/reflect/internal/Importers.scala b/src/reflect/scala/reflect/internal/Importers.scala
index ff91b08ea1..dc4ad25ef2 100644
--- a/src/reflect/scala/reflect/internal/Importers.scala
+++ b/src/reflect/scala/reflect/internal/Importers.scala
@@ -7,19 +7,9 @@ import scala.ref.WeakReference
import scala.reflect.internal.Flags._
// SI-6241: move importers to a mirror
-trait Importers extends api.Importers { to: SymbolTable =>
+trait Importers { to: SymbolTable =>
- /** Attachment that knows how to import itself into another universe. */
- trait ImportableAttachment {
- def importAttachment(importer: Importer): this.type
- }
-
- /** Attachment that doesn't contain any reflection artificats and can be imported as-is. */
- trait PlainAttachment extends ImportableAttachment {
- def importAttachment(importer: Importer): this.type = this
- }
-
- def mkImporter(from0: api.Universe): Importer { val from: from0.type } = (
+ override def mkImporter(from0: api.Universe): Importer { val from: from0.type } = (
if (to eq from0) {
new Importer {
val from = from0