File tree 2 files changed +15
-1
lines changed
src/dotty/tools/dotc/core
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 =>
117
117
/** Possibly accept stale symbol with warning if in IDE */
118
118
def acceptStale (denot : SingleDenotation ): Boolean =
119
119
staleOK && {
120
- ctx.echo (denot.staleSymbolMsg)
120
+ ctx.debugwarn (denot.staleSymbolMsg)
121
121
true
122
122
}
123
123
}
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