File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ class Namer { typer: Typer =>
336
336
*/
337
337
def enterSymbol (sym : Symbol )(implicit ctx : Context ) = {
338
338
if (sym.exists) {
339
- typr.println(s " entered: $sym in ${ctx.owner} and ${ctx.effectiveScope} " )
339
+ typr.println(s " entered: $sym in ${ctx.owner}" )
340
340
ctx.enter(sym)
341
341
}
342
342
sym
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ object ProtoTypes {
83
83
def isMatchedBy (tp1 : Type )(implicit ctx : Context ) = true
84
84
def map (tm : TypeMap )(implicit ctx : Context ): ProtoType = this
85
85
def fold [T ](x : T , ta : TypeAccumulator [T ])(implicit ctx : Context ): T = x
86
+ override def toString = getClass.toString
86
87
}
87
88
88
89
/** A class marking ignored prototypes that can be revealed by `deepenProto` */
You can’t perform that action at this time.
0 commit comments