Skip to content

Commit cd56de3

Browse files
committed
Delete obsolete comment
1 parent ce05244 commit cd56de3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,8 +2156,6 @@ object messages {
21562156
if (decl.isRealMethod && previousDecl.isRealMethod) {
21572157
// compare the signatures when both symbols represent methods
21582158
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.
21612159
case Signature.MatchDegree.NoMatch =>
21622160
// If the signatures don't match at all at the current phase, then
21632161
// they might match after erasure.

0 commit comments

Comments
 (0)