NonLocalReturns
object NonLocalReturns
Library implementation of nonlocal return.
Usage:
import scala.util.control.NonLocalReturns.*
returning { ... throwReturn(x) ... }
- Source:
- NonLocalReturns.scala
Type members
Classlikes
Value members
Concrete methods
Performs a nonlocal return by throwing an exception.
Performs a nonlocal return by throwing an exception.
- Source:
- NonLocalReturns.scala