diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-20 09:16:06 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-20 09:16:06 +0100 |
commit | 11fbe8b66618b153653678cf4c0b752e792bfaa1 (patch) | |
tree | c0b18eb186556cf8bf921fb18318eb98697616dc /src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | |
parent | e26c52f6a5cdb6e260bfb9f96594367a71e08d13 (diff) | |
download | dotty-11fbe8b66618b153653678cf4c0b752e792bfaa1.tar.gz dotty-11fbe8b66618b153653678cf4c0b752e792bfaa1.tar.bz2 dotty-11fbe8b66618b153653678cf4c0b752e792bfaa1.zip |
Moved TypeTrees defs into nested object tpd.
Reason: We need normal trees to do efficient pattern matching. So if we want to both pattern match and create trees we need to import Trees._ and TypedTrees.tpd. Then typed tree construction needs to be prefixed with tpd, e.g. tpd.Select(pre, name).
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileParser.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala index d131fe8f8..2f370fbdd 100644 --- a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala +++ b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala @@ -5,7 +5,7 @@ package pickling import Contexts._, Symbols._, Types._, Names._, StdNames._, NameOps._, Scopes._, Decorators._ import SymDenotations._, UnPickler._, Constants._, Annotations._, Positions._ -import TypedTrees._ +import TypedTrees.tpd._ import java.io.{ File, IOException } import java.lang.Integer.toHexString import scala.collection.{ mutable, immutable } |