aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorNicolas Stucki <nicolas.stucki@gmail.com>2016-05-30 09:20:21 +0200
committerNicolas Stucki <nicolas.stucki@gmail.com>2016-07-07 11:10:44 +0200
commit75da0358fd7866f3dccdfcf4fbeae9af8ccc69f3 (patch)
tree142087645d00858f20eaead2f805afb333d2bddc /src/dotty/tools/dotc/core/Types.scala
parent07fd8a357ed660ef15163efb2788928fec290fdd (diff)
downloaddotty-75da0358fd7866f3dccdfcf4fbeae9af8ccc69f3.tar.gz
dotty-75da0358fd7866f3dccdfcf4fbeae9af8ccc69f3.tar.bz2
dotty-75da0358fd7866f3dccdfcf4fbeae9af8ccc69f3.zip
Fix #657: Add scala.Dynamic support.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index f514a329e..8a4bf727b 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -3021,6 +3021,9 @@ object Types {
object ErrorType extends ErrorType
+ /* Type used to track Select nodes that could not resolve a member and their qualifier is a scala.Dynamic. */
+ object TryDynamicCallType extends ErrorType
+
/** Wildcard type, possibly with bounds */
abstract case class WildcardType(optBounds: Type) extends CachedGroundType with TermType {
def derivedWildcardType(optBounds: Type)(implicit ctx: Context) =