From 112f39aa1c3a9e36848b30d7d2709fb1b2ef7949 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 16 Jun 2015 16:27:10 +0200 Subject: Use FlagSet directly instead of defKind Instead of classifying class members with a TreeInfo.DefKind, we use directly the flags into which kinds were previously translated. --- src/dotty/tools/dotc/core/Flags.scala | 2 ++ 1 file changed, 2 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 3efadcb00..759dff0d4 100644 --- a/src/dotty/tools/dotc/core/Flags.scala +++ b/src/dotty/tools/dotc/core/Flags.scala @@ -467,6 +467,8 @@ object Flags { /** Pure interfaces always have these flags */ final val PureInterfaceCreationFlags = Trait | NoInits | PureInterface + final val NoInitsInterface = NoInits | PureInterface + /** The flags of the self symbol */ final val SelfSymFlags = Private | Local | Deferred -- cgit v1.2.3