File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
src/dotty/tools/dotc/core Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ trait SymDenotations { this: Context =>
117117 /** Possibly accept stale symbol with warning if in IDE */
118118 def acceptStale (denot : SingleDenotation ): Boolean =
119119 staleOK && {
120- ctx.echo (denot.staleSymbolMsg)
120+ ctx.debugwarn (denot.staleSymbolMsg)
121121 true
122122 }
123123}
Original file line number Diff line number Diff line change 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+ 1 | class T extends Eql
6+ | ^^^
7+ | Missing type parameter for Eql
8+ scala> class T extends Eql
9+ 1 | class T extends Eql
10+ | ^
11+ | Cannot extend sealed trait Eql in a different source file
12+ 1 | class T extends Eql
13+ | ^^^
14+ | Missing type parameter for Eql
You can’t perform that action at this time.
0 commit comments