diff options
author | Martin Odersky <odersky@gmail.com> | 2013-08-17 10:19:43 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-08-17 10:19:43 +0200 |
commit | fd6a6774be4be37f707f509aef997e456a6b64ac (patch) | |
tree | 50eea18194ce6a7b588b200a34150b8d75e64f0f /src/dotty/tools/dotc/ast | |
parent | 0575d51b898d14f818e35a19a5f9f67f280a0b04 (diff) | |
download | dotty-fd6a6774be4be37f707f509aef997e456a6b64ac.tar.gz dotty-fd6a6774be4be37f707f509aef997e456a6b64ac.tar.bz2 dotty-fd6a6774be4be37f707f509aef997e456a6b64ac.zip |
Defined root context with imports
… and cleaned up and simplified other context-reated features.
Diffstat (limited to 'src/dotty/tools/dotc/ast')
-rw-r--r-- | src/dotty/tools/dotc/ast/Trees.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala index 9eeb28da4..8157c287d 100644 --- a/src/dotty/tools/dotc/ast/Trees.scala +++ b/src/dotty/tools/dotc/ast/Trees.scala @@ -805,12 +805,6 @@ object Trees { traverser.traverse(tree) } - // ----- Position handling ----------------------------------------- - - protected implicit def pos(implicit ctx: Context): Position = ctx.position - - def defPos(sym: Symbol)(implicit ctx: Context) = ctx.position union sym.coord.toPosition - // ----- Helper classes for copying, transforming, accumulating ----------------- val cpy: TreeCopier |