diff options
author | Martin Odersky <odersky@gmail.com> | 2013-05-22 19:22:28 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-05-22 19:22:28 +0200 |
commit | 66fe5aaba6d5f7ae3694bcc942487cd1fe00c533 (patch) | |
tree | 87466b4ab10613bb2c174f01c6185fd268a3cd35 /src/dotty/tools/dotc/ast/TypedTrees.scala | |
parent | 965a62d4a165da7e5a53c9afdba3175e10fe714b (diff) | |
download | dotty-66fe5aaba6d5f7ae3694bcc942487cd1fe00c533.tar.gz dotty-66fe5aaba6d5f7ae3694bcc942487cd1fe00c533.tar.bz2 dotty-66fe5aaba6d5f7ae3694bcc942487cd1fe00c533.zip |
Eliminating Trees.TypedTree and Trees.UntypedTree
Replaced by tpd.Tree and untpd.Tree.
Also some cleanups in RefinedPrinters.
Diffstat (limited to 'src/dotty/tools/dotc/ast/TypedTrees.scala')
-rw-r--r-- | src/dotty/tools/dotc/ast/TypedTrees.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/TypedTrees.scala b/src/dotty/tools/dotc/ast/TypedTrees.scala index 958927148..266664cce 100644 --- a/src/dotty/tools/dotc/ast/TypedTrees.scala +++ b/src/dotty/tools/dotc/ast/TypedTrees.scala @@ -211,7 +211,7 @@ object tpd extends Trees.Instance[Type] { .withType(refType(cls)).checked } - def Import(expr: Tree, selectors: List[Trees.UntypedTree])(implicit ctx: Context): Import = + def Import(expr: Tree, selectors: List[untpd.Tree])(implicit ctx: Context): Import = Trees.Import(expr, selectors).withType(refType(ctx.newImportSymbol(SharedTree(expr)))).checked def PackageDef(pid: RefTree, stats: List[Tree])(implicit ctx: Context): PackageDef = |