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 545c7a5 commit 5c9acb1Copy full SHA for 5c9acb1
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