Skip to content

Commit 1f0b25b

Browse files
oderskyDarkDimius
authored andcommitted
Make Scala2Existentials valid forever
Avoids a stale symbol error when compiling all files in tools together.
1 parent ce826ee commit 1f0b25b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/Flags.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ object Flags {
529529
final val HasDefaultParams = DefaultParameterized | InheritedDefaultParams
530530

531531
/** Is valid forever */
532-
final val ValidForever = Package | Permanent
532+
final val ValidForever = Package | Permanent | Scala2ExistentialCommon
533533

534534
/** Is a default parameter in Scala 2*/
535535
final val DefaultParameter = allOf(Param, DefaultParameterized)

0 commit comments

Comments
 (0)