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