Skip to content

Commit

Permalink
Mention reachability warnings on @unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Oct 23, 2020
1 parent 48ec4ce commit 6062d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/unchecked.scala
Expand Up @@ -15,7 +15,7 @@ package scala
/** An annotation to designate that the annotated entity
* should not be considered for additional compiler checks.
* Specific applications include annotating the subject of
* a match expression to suppress exhaustiveness warnings, and
* a match expression to suppress exhaustiveness and reachability warnings, and
* annotating a type argument in a match case to suppress
* unchecked warnings.
*
Expand Down

0 comments on commit 6062d3c

Please sign in to comment.