We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e820624 commit 7de84b4Copy full SHA for 7de84b4
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -792,8 +792,8 @@ object messages {
792
val explanation =
793
hl"""|There are several ways to make the match exhaustive:
794
| - Add missing cases as shown in the warning
795
- | - If an extractor always return Some(...), write Some[X] for its return type
796
- | - Add a case _ => ... at the end to match all remaining cases
+ | - If an extractor always return 'Some(...)', write 'Some[X]' for its return type
+ | - Add a 'case _ => ...' at the end to match all remaining cases
797
|"""
798
}
799
0 commit comments