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 950a2e7 commit aae3e6aCopy full SHA for aae3e6a
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -2386,7 +2386,7 @@ object messages {
2386
em"""no enclosing class or object is named '${hl(name.show)}'"""
2387
val explanation: String =
2388
ex"""
2389
- |The class or object named '${hl(name.show)}' was used a visibility
+ |The class or object named '${hl(name.show)}' was used as a visibility
2390
|modifier, but could not be resolved. Make sure that
2391
|'${hl(name.show)}' is not misspelled and has been imported into the
2392
|current scope.
0 commit comments