aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Transformers.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-02-11 14:42:45 +0100
committerMartin Odersky <odersky@gmail.com>2014-02-11 14:42:56 +0100
commit459d78dccc40c94dd7da8b5b29762a494595778b (patch)
tree2d678de090302dab70d7079730f8ed4cc258b667 /src/dotty/tools/dotc/core/Transformers.scala
parente895249de8f59e5a5c4175b428193fa4c5ea90af (diff)
downloaddotty-459d78dccc40c94dd7da8b5b29762a494595778b.tar.gz
dotty-459d78dccc40c94dd7da8b5b29762a494595778b.tar.bz2
dotty-459d78dccc40c94dd7da8b5b29762a494595778b.zip
New scheme for attachments.
Added general way to put attachments on some base type (which needs to inherit from Attachment.Container). Used it to turn typedTree map into an attachment. Also, moved DotClass to dotc.util.
Diffstat (limited to 'src/dotty/tools/dotc/core/Transformers.scala')
-rw-r--r--src/dotty/tools/dotc/core/Transformers.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Transformers.scala b/src/dotty/tools/dotc/core/Transformers.scala
index ba26c8be8..90df3a274 100644
--- a/src/dotty/tools/dotc/core/Transformers.scala
+++ b/src/dotty/tools/dotc/core/Transformers.scala
@@ -1,8 +1,13 @@
package dotty.tools.dotc
package core
-import Periods._, SymDenotations._, Contexts._, Types._, Denotations._
+import Periods._
+import SymDenotations._
+import Contexts._
+import Types._
+import Denotations._
import java.lang.AssertionError
+import dotty.tools.dotc.util.DotClass
trait Transformers