aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-05-01 11:17:47 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-05-08 21:51:47 +0200
commit615ad1f9eddc3dff9f8f4019ee9608a0b43db45f (patch)
treed2efcea63661f77610d04dff7dd15cef220f915f /src/dotty/tools/dotc/core/Types.scala
parent9099df69ceb9a73073c63ba051d7da1230cf25fa (diff)
downloaddotty-615ad1f9eddc3dff9f8f4019ee9608a0b43db45f.tar.gz
dotty-615ad1f9eddc3dff9f8f4019ee9608a0b43db45f.tar.bz2
dotty-615ad1f9eddc3dff9f8f4019ee9608a0b43db45f.zip
Making dotc/transform Dotty compliant
Fixes to make the files in `transform` compile in Dotty.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index 1107f184f..bb882e36c 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -2276,7 +2276,7 @@ object Types {
/** Map this function over given type */
def mapOver(tp: Type): Type = {
- implicit val ctx = this.ctx
+ implicit val ctx: Context = this.ctx // Dotty deviation: implicits need explicit type
tp match {
case tp: NamedType =>
if (stopAtStatic && tp.symbol.isStatic) tp