diff options
author | Martin Odersky <odersky@gmail.com> | 2014-02-11 14:42:45 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-02-11 14:42:56 +0100 |
commit | 459d78dccc40c94dd7da8b5b29762a494595778b (patch) | |
tree | 2d678de090302dab70d7079730f8ed4cc258b667 /src/dotty/tools/dotc/core/Periods.scala | |
parent | e895249de8f59e5a5c4175b428193fa4c5ea90af (diff) | |
download | dotty-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/Periods.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Periods.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Periods.scala b/src/dotty/tools/dotc/core/Periods.scala index 2a38acd15..04eef6aaf 100644 --- a/src/dotty/tools/dotc/core/Periods.scala +++ b/src/dotty/tools/dotc/core/Periods.scala @@ -1,6 +1,7 @@ package dotty.tools.dotc.core import Contexts._ +import dotty.tools.dotc.util.DotClass /** Periods are the central "clock" of the compiler. * A period consists of a run id and a phase id. |