Skip to content

Commit 6b2f766

Browse files
matsu-charatgodzik
authored andcommitted
add jspecify NonNull annotation to NotNullAnnots list
[Cherry-picked 9da102b]
1 parent c76afed commit 6b2f766

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,8 @@ class Definitions {
10871087
"lombok.NonNull" ::
10881088
"reactor.util.annotation.NonNull" ::
10891089
"reactor.util.annotation.NonNullApi" ::
1090-
"io.reactivex.annotations.NonNull" :: Nil)
1090+
"io.reactivex.annotations.NonNull" ::
1091+
"org.jspecify.annotations.NonNull" :: Nil)
10911092

10921093
// convenient one-parameter method types
10931094
def methOfAny(tp: Type): MethodType = MethodType(List(AnyType), tp)

0 commit comments

Comments
 (0)