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 e46d9ab commit 6a22d29Copy full SHA for 6a22d29
compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
@@ -404,7 +404,10 @@ class JSCodeGen()(implicit ctx: Context) {
404
case EmptyTree => ()
405
case dd: DefDef => generatedMethods ++= genMethod(dd)
406
case _ =>
407
- throw new FatalError("Illegal tree in gen of genInterface(): " + tree)
+ throw new FatalError(
408
+ i"""Illegal tree in gen of genInterface(): $tree
409
+ |class = $td
410
+ |in ${ctx.compilationUnit}""")
411
}
412
413
0 commit comments