aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core
diff options
context:
space:
mode:
authorSébastien Doeraene <sjrdoeraene@gmail.com>2014-03-07 10:05:58 +0100
committerSébastien Doeraene <sjrdoeraene@gmail.com>2014-03-07 10:05:58 +0100
commit5d70c5845a09a59c98c2d933d001915660ceb70b (patch)
tree0a0d9407a2a420614a5355a38fbed55c37e492db /src/dotty/tools/dotc/core
parent172f4807e844bf61f3e640b50d74fa7895bd6b39 (diff)
parentfa4ea90713149473eca70ff2f03be673a630be9e (diff)
downloaddotty-5d70c5845a09a59c98c2d933d001915660ceb70b.tar.gz
dotty-5d70c5845a09a59c98c2d933d001915660ceb70b.tar.bz2
dotty-5d70c5845a09a59c98c2d933d001915660ceb70b.zip
Merge pull request #45 from DarkDimius/noSharedTrees
Get rid of SharedTree
Diffstat (limited to 'src/dotty/tools/dotc/core')
-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`. */