aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-04-09 15:19:49 +0200
committerMartin Odersky <odersky@gmail.com>2013-04-09 15:19:49 +0200
commit7a6bb3ccba3217bc15e3a1c038a1cce4dbd942e3 (patch)
tree5ca8c806a1414010a2aa8c62c319528386ea653c /src/dotty/tools/dotc/core/SymDenotations.scala
parent442c361aee87266fe6428f1d9a5da7de934c8cef (diff)
downloaddotty-7a6bb3ccba3217bc15e3a1c038a1cce4dbd942e3.tar.gz
dotty-7a6bb3ccba3217bc15e3a1c038a1cce4dbd942e3.tar.bz2
dotty-7a6bb3ccba3217bc15e3a1c038a1cce4dbd942e3.zip
Renamed creation methods of NamedTypes
Methods taking a fixed symbol are now called …withSym, methods taking a signature … withSig. The reason for the change is that we want to liberate the original method names to take optional denotations, thus avoiding to have to go through withDenot each time.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index c5feb55cb..0b8f494d0 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -575,7 +575,7 @@ object SymDenotations {
* @throws ClassCastException is this is not a type
*/
final def symbolicRef(implicit ctx: Context): TypeRef =
- TypeRef(owner.thisType, symbol.asType)
+ TypeRef.withSym(owner.thisType, symbol.asType)
/** The variance of this type parameter as an Int, with
* +1 = Covariant, -1 = Contravariant, 0 = Nonvariant, or not a type parameter