aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Symbols.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-06 00:40:05 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-06 00:40:05 +0100
commitfa4ea90713149473eca70ff2f03be673a630be9e (patch)
tree8a191baa98095fefe253cea4a10a3cbf4cc6141e /src/dotty/tools/dotc/core/Symbols.scala
parent092456b806a132a64b7a4a98d0d2d30ca8114bbd (diff)
downloaddotty-fa4ea90713149473eca70ff2f03be673a630be9e.tar.gz
dotty-fa4ea90713149473eca70ff2f03be673a630be9e.tar.bz2
dotty-fa4ea90713149473eca70ff2f03be673a630be9e.zip
Got rid of SharedTree
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r--src/dotty/tools/dotc/core/Symbols.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala
index 408142ede..ea96b3023 100644
--- a/src/dotty/tools/dotc/core/Symbols.scala
+++ b/src/dotty/tools/dotc/core/Symbols.scala
@@ -19,7 +19,7 @@ import Annotations._
import util.Positions._
import StdNames._
import NameOps._
-import ast.tpd.{TreeMapper, SharedTree}
+import ast.tpd.{TreeMapper, Tree}
import Denotations.{ Denotation, SingleDenotation, MultiDenotation }
import collection.mutable
import io.AbstractFile
@@ -216,7 +216,7 @@ trait Symbols { this: Context =>
newSymbol(cls, nme.localDummyName(cls), EmptyFlags, NoType)
/** Create an import symbol pointing back to given qualifier `expr`. */
- def newImportSymbol(expr: SharedTree, coord: Coord = NoCoord) =
+ def newImportSymbol(expr: Tree, coord: Coord = NoCoord) =
newSymbol(NoSymbol, nme.IMPORT, EmptyFlags, ImportType(expr), coord = coord)
/** Create a class constructor symbol for given class `cls`. */