Skip to content

Commit 41b9b5a

Browse files
committed
Fix documentation typo and update MiMaFilters
1 parent 62f3763 commit 41b9b5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

library/src/scala/annotation/stableNull.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package scala.annotation
22

33
/** An annotation that can be used to mark a mutable field as trackable for nullability.
4-
* With explicit nulls, a normal mutable field can be tracked for nullability by flow typing,
4+
* With explicit nulls, a normal mutable field cannot be tracked for nullability by flow typing,
55
* since it can be updated to a null value at the same time.
66
* This annotation will force the compiler to track the field for nullability, as long as the
77
* prefix is a stable path.

project/MiMaFilters.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ object MiMaFilters {
4545
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.reachCapability"),
4646
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.preview"),
4747
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.unchecked.uncheckedCaptures"),
48+
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.stableNull"),
4849
ProblemFilters.exclude[MissingClassProblem]("scala.quoted.Quotes$reflectModule$ValOrDefDefMethods"),
4950
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$"),
5051
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$minusmigration$"),

0 commit comments

Comments
 (0)