diff options
-rw-r--r-- | src/library/scala/runtime/NonLocalReturnControl.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/library/scala/runtime/NonLocalReturnControl.scala b/src/library/scala/runtime/NonLocalReturnControl.scala index 5be2aeeb84..8be2745086 100644 --- a/src/library/scala/runtime/NonLocalReturnControl.scala +++ b/src/library/scala/runtime/NonLocalReturnControl.scala @@ -12,4 +12,6 @@ package scala.runtime import scala.util.control.ControlThrowable -class NonLocalReturnControl[T](val key: AnyRef, val value: T) extends ControlThrowable +class NonLocalReturnControl[T](val key: AnyRef, val value: T) extends ControlThrowable { + final override def fillInStackTrace(): Throwable = this +} |