Skip to content

Commit 2d74c8c

Browse files
committed
Fix documentation typo and update MiMaFilters
1 parent c12d8db commit 2d74c8c

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
@@ -42,6 +42,7 @@ object MiMaFilters {
4242
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.reachCapability"),
4343
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.internal.preview"),
4444
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.unchecked.uncheckedCaptures"),
45+
ProblemFilters.exclude[MissingClassProblem]("scala.annotation.stableNull"),
4546
ProblemFilters.exclude[MissingClassProblem]("scala.quoted.Quotes$reflectModule$ValOrDefDefMethods"),
4647
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$"),
4748
ProblemFilters.exclude[MissingClassProblem]("scala.runtime.stdLibPatches.language$3$u002E4$minusmigration$"),

0 commit comments

Comments
 (0)