File tree 1 file changed +3
-2
lines changed
compiler/src/dotty/tools/dotc/transform
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
package dotty .tools .dotc
2
2
package transform
3
3
4
+ import config .Printers .checks as printer
4
5
import core .Names .Name
5
6
import core .DenotTransformers .*
6
7
import core .SymDenotations .*
@@ -415,7 +416,7 @@ object TreeChecker {
415
416
res
416
417
catch case NonFatal (ex) if ! ctx.run.enrichedErrorMessage =>
417
418
val treeStr = tree.show(using ctx.withPhase(ctx.phase.prev.megaPhase))
418
- println(ctx.run.enrichErrorMessage(s " exception while retyping $treeStr of class ${tree.className} # ${tree.uniqueId}" ))
419
+ printer. println(ctx.run.enrichErrorMessage(s " exception while retyping $treeStr of class ${tree.className} # ${tree.uniqueId}" ))
419
420
throw ex
420
421
}
421
422
@@ -782,7 +783,7 @@ object TreeChecker {
782
783
// We want make sure that transparent inline macros are checked in the same way that
783
784
// non transparent macros are, so we try to prepare a context which would make
784
785
// the checks behave the same way for both types of macros.
785
- //
786
+ //
786
787
// E.g. Different instances of skolem types are by definition not able to be a subtype of
787
788
// one another, however in practice this is only upheld during typer phase, and we do not want
788
789
// it to be upheld during this check.
You can’t perform that action at this time.
0 commit comments