diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala index d4565c8e0c..89ec052556 100644 --- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala +++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala @@ -287,6 +287,8 @@ abstract class RefChecks extends InfoTransform with reflect.internal.transform.R infoStringWithLocation(other), infoStringWithLocation(member) ) + else if (settings.debug.value) + analyzer.foundReqMsg(member.tpe, other.tpe) else "" "overriding %s;\n %s %s%s".format( |