diff options
author | Martin Odersky <odersky@gmail.com> | 2013-05-22 18:56:31 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-05-22 18:56:57 +0200 |
commit | 965a62d4a165da7e5a53c9afdba3175e10fe714b (patch) | |
tree | 9698567b21c4a6006aa5c1e3bdd7ba788706539b /src/dotty/tools/dotc/core | |
parent | fd079d2f3335db7b54b0f78a4d884d9948a7beea (diff) | |
download | dotty-965a62d4a165da7e5a53c9afdba3175e10fe714b.tar.gz dotty-965a62d4a165da7e5a53c9afdba3175e10fe714b.tar.bz2 dotty-965a62d4a165da7e5a53c9afdba3175e10fe714b.zip |
Made tpd/untpd toplevel objects.
Moved all other elements of TypedTrees and UntypedTrees into tpd and untpd.
Diffstat (limited to 'src/dotty/tools/dotc/core')
-rw-r--r-- | src/dotty/tools/dotc/core/Annotations.scala | 2 | ||||
-rw-r--r-- | src/dotty/tools/dotc/core/Contexts.scala | 2 | ||||
-rw-r--r-- | src/dotty/tools/dotc/core/Symbols.scala | 3 | ||||
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 | ||||
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | 2 | ||||
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/UnPickler.scala | 2 |
6 files changed, 6 insertions, 7 deletions
diff --git a/src/dotty/tools/dotc/core/Annotations.scala b/src/dotty/tools/dotc/core/Annotations.scala index 07ed37f06..bef8499b0 100644 --- a/src/dotty/tools/dotc/core/Annotations.scala +++ b/src/dotty/tools/dotc/core/Annotations.scala @@ -1,7 +1,7 @@ package dotty.tools.dotc package core -import Symbols._, Types._, util.Positions._, Contexts._, Constants._, ast.TypedTrees.tpd._ +import Symbols._, Types._, util.Positions._, Contexts._, Constants._, ast.tpd._ object Annotations { diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala index 8fcdc2cbd..af8bd6e91 100644 --- a/src/dotty/tools/dotc/core/Contexts.scala +++ b/src/dotty/tools/dotc/core/Contexts.scala @@ -9,7 +9,7 @@ import Phases._ import Types._ import Symbols._ import TypeComparers._, NameOps._, SymDenotations._, util.Positions._ -import ast.TypedTrees.tpd._, util.FreshNameCreator +import ast.tpd._, util.FreshNameCreator import config.Settings._ import config.ScalaSettings import reporting._ diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index 8c5474740..0d6f87cda 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -13,8 +13,7 @@ import Contexts._ import SymDenotations._, printing.Texts._ import printing.Printer import Types._, Annotations._, util.Positions._, StdNames._, NameOps._ -import ast.TypedTrees.TreeMapper -import ast.TypedTrees.tpd.SharedTree +import ast.tpd.{TreeMapper, SharedTree} import Denotations.{ Denotation, SingleDenotation, MultiDenotation } import collection.mutable import io.AbstractFile diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index 135437671..1b21567a0 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -15,7 +15,7 @@ import SymDenotations._ import Decorators._ import Denotations._ import Periods._ -import ast.TypedTrees.tpd._, ast.TypedTrees.TreeMapper, printing.Texts._ +import ast.tpd._, printing.Texts._ import transform.Erasure import printing.Printer import scala.util.hashing.{ MurmurHash3 => hashing } diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala index 9586b9436..8a790d760 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._, util.Positions._ -import ast.TypedTrees.tpd._ +import ast.tpd._ import java.io.{ File, IOException } import java.lang.Integer.toHexString import scala.collection.{ mutable, immutable } diff --git a/src/dotty/tools/dotc/core/pickling/UnPickler.scala b/src/dotty/tools/dotc/core/pickling/UnPickler.scala index 42899ef44..51816b971 100644 --- a/src/dotty/tools/dotc/core/pickling/UnPickler.scala +++ b/src/dotty/tools/dotc/core/pickling/UnPickler.scala @@ -10,7 +10,7 @@ import java.lang.Double.longBitsToDouble import Contexts._, Symbols._, Types._, Scopes._, SymDenotations._, Names._, NameOps._ import StdNames._, Denotations._, NameOps._, Flags._, Constants._, Annotations._ import util.Positions._ -import ast.Trees, ast.TypedTrees.tpd._, ast.TypedTrees.TreeOps +import ast.Trees, ast.tpd._ import printing.Texts._ import printing.Printer import io.AbstractFile |