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.
1 parent f7bf314 commit be6eb06Copy full SHA for be6eb06
compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala
@@ -81,7 +81,7 @@ object ErrorReporting {
81
if (tree.tpe.widen.exists)
82
i"${exprStr(tree)} does not take ${kind}parameters"
83
else {
84
- //new FatalError("").printStackTrace() //DEBUG
+ if (ctx.settings.Ydebug.value) new FatalError("").printStackTrace()
85
i"undefined: $tree # ${tree.uniqueId}: ${tree.tpe.toString} at ${ctx.phase}"
86
}
87
0 commit comments