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 b820d79 commit 2b7f900Copy full SHA for 2b7f900
compiler/src/dotty/tools/dotc/util/Implosion.scala
@@ -22,10 +22,10 @@ import java.io.{PrintStream, PrintWriter, StringWriter}
22
* @param cause The exception that caused the crash.
23
*/
24
class Implosion private (message: String, val cause: Throwable) extends ControlThrowable:
25
-
+importruntime.stdLibPatches.Predef.nn
26
override def toString: String = cause.toString()
27
- override def getCause(): Throwable = cause.getCause()
28
- override def getStackTrace(): Array[StackTraceElement] = cause.getStackTrace()
+ override def getCause(): Throwable = cause.getCause().nn
+ override def getStackTrace(): Array[StackTraceElement] = cause.getStackTrace().nn
29
30
override def printStackTrace(s: PrintStream): Unit = cause.printStackTrace(s)
31
override def printStackTrace(s: PrintWriter): Unit = cause.printStackTrace(s)
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments