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.
2 parents 8a5b198 + a11f887 commit 6948038Copy full SHA for 6948038
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -117,7 +117,7 @@ trait SymDenotations { this: Context =>
117
/** Possibly accept stale symbol with warning if in IDE */
118
def acceptStale(denot: SingleDenotation): Boolean =
119
staleOK && {
120
- ctx.echo(denot.staleSymbolMsg)
+ ctx.debugwarn(denot.staleSymbolMsg)
121
true
122
}
123
compiler/test-resources/repl/i7644
@@ -0,0 +1,14 @@
1
+scala> class T extends Eql
2
+1 | class T extends Eql
3
+ | ^
4
+ | Cannot extend sealed trait Eql in a different source file
5
6
+ | ^^^
7
+ | Missing type parameter for Eql
8
9
10
11
12
13
14
0 commit comments