Skip to content

Commit 2a3cab5

Browse files
committed
Revert TastyFormat changes and fix Mima filters
1 parent a1f182b commit 2a3cab5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

project/MiMaFilters.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ object MiMaFilters {
1313
ProblemFilters.exclude[MissingFieldProblem]("scala.runtime.stdLibPatches.language#experimental.quotedPatternsWithPolymorphicFunctions"),
1414
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$experimental$quotedPatternsWithPolymorphicFunctions$"),
1515
ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.runtime.Patterns.higherOrderHoleWithTypes"),
16+
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.freshCapability"),
17+
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.readOnlyCapability"),
1618
),
1719

1820
// Additions since last LTS

tasty/src/dotty/tools/tasty/TastyFormat.scala

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ Standard-Section: "ASTs" TopLevelStat*
229229
OPEN -- an open class
230230
INVISIBLE -- invisible during typechecking
231231
TRACKED -- a tracked class parameter / a dependent class
232-
MUT -- an update method (cc only)
233232
Annotation
234233
235234
Variance = STABLE -- invariant
@@ -512,7 +511,6 @@ object TastyFormat {
512511
final val EMPTYCLAUSE = 45
513512
final val SPLITCLAUSE = 46
514513
final val TRACKED = 47
515-
final val MUT = 48
516514

517515
// Tree Cat. 2: tag Nat
518516
final val firstNatTreeTag = SHAREDterm
@@ -705,8 +703,7 @@ object TastyFormat {
705703
| ANNOTATION
706704
| PRIVATEqualified
707705
| PROTECTEDqualified
708-
| TRACKED
709-
| MUT => true
706+
| TRACKED => true
710707
case _ => false
711708
}
712709

0 commit comments

Comments
 (0)