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 c325428 commit 8e69861Copy full SHA for 8e69861
compiler/src/dotty/tools/dotc/core/TypeErrors.scala
@@ -22,7 +22,10 @@ abstract class TypeError(using creationContext: Context) extends Exception(""):
22
* This is expensive and only useful for debugging purposes.
23
*/
24
def computeStackTrace: Boolean =
25
- ctx.debug || (cyclicErrors != noPrinter && this.isInstanceOf[CyclicReference] && !(ctx.mode is Mode.CheckCyclic))
+ ctx.debug
26
+ || (cyclicErrors != noPrinter && this.isInstanceOf[CyclicReference] && !(ctx.mode is Mode.CheckCyclic))
27
+ || ctx.settings.YdebugTypeError.value
28
+ || ctx.settings.YdebugError.value
29
30
override def fillInStackTrace(): Throwable =
31
if computeStackTrace then super.fillInStackTrace().nn
0 commit comments