We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a16fe commit 531148fCopy full SHA for 531148f
compiler/src/dotty/tools/dotc/core/Flags.scala
@@ -1,4 +1,5 @@
1
-package dotty.tools.dotc.core
+package dotty.tools.dotc
2
+package core
3
4
import language.implicitConversions
5
@@ -495,7 +496,8 @@ object Flags {
495
496
final val SelfSymFlags = Private | Local | Deferred
497
498
/** The flags of a class type parameter */
- final def ClassTypeParamCreationFlags = TypeParam | Deferred | Protected | Local
499
+ final val ClassTypeParamCreationFlags =
500
+ TypeParam | Deferred | (if (config.Config.newScheme) Private else Protected) | Local
501
502
/** Flags that can apply to both a module val and a module class, except those that
503
* are added at creation anyway
0 commit comments