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 ce05244 commit cd56de3Copy full SHA for cd56de3
compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -2156,8 +2156,6 @@ object messages {
2156
if (decl.isRealMethod && previousDecl.isRealMethod) {
2157
// compare the signatures when both symbols represent methods
2158
decl.signature.matchDegree(previousDecl.signature) match {
2159
- // DOTTY problem: Need to qualify MatchDegree enum vals since otherwise exhaustivity fails.
2160
- // To fix this, we need to export vals under singleton types.
2161
case Signature.MatchDegree.NoMatch =>
2162
// If the signatures don't match at all at the current phase, then
2163
// they might match after erasure.
0 commit comments