diff options
author | Martin Odersky <odersky@gmail.com> | 2014-05-01 11:17:47 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-05-08 21:51:47 +0200 |
commit | 615ad1f9eddc3dff9f8f4019ee9608a0b43db45f (patch) | |
tree | d2efcea63661f77610d04dff7dd15cef220f915f /src/dotty/tools/dotc/core/Types.scala | |
parent | 9099df69ceb9a73073c63ba051d7da1230cf25fa (diff) | |
download | dotty-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.scala | 2 |
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 |