From 9d924441fdeab3bbe0c6cca8c1ecce6ecf64a608 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 9 Feb 2014 16:19:45 +0100 Subject: Making completer take an implicit context As a first step, we make the complete method in LazyType take an implicit context parameter. This requires a fairly large propagation of implicit contexts. The implicit parameter is ignored for classes inheriting from CompleteInCreationContext (which until now are all completers). The next step will be to make the complete methods of selective lazy types take the current context, rather than the creation context. --- src/dotty/tools/dotc/core/Flags.scala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dotty/tools/dotc/core/Flags.scala') diff --git a/src/dotty/tools/dotc/core/Flags.scala b/src/dotty/tools/dotc/core/Flags.scala index d7d30f438..ab17c7176 100644 --- a/src/dotty/tools/dotc/core/Flags.scala +++ b/src/dotty/tools/dotc/core/Flags.scala @@ -175,6 +175,9 @@ object Flags { /** The empty flag set */ final val EmptyFlags = FlagSet(0) + /** The undefined flag set */ + final val UndefinedFlags = FlagSet(~KINDFLAGS) + // Available flags: /** Labeled with `private` modifier */ -- cgit v1.2.3