From 75da0358fd7866f3dccdfcf4fbeae9af8ccc69f3 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 30 May 2016 09:20:21 +0200 Subject: Fix #657: Add scala.Dynamic support. --- src/dotty/tools/dotc/core/Types.scala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dotty/tools/dotc/core/Types.scala') 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) = -- cgit v1.2.3