A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/util/control/NonLocalReturns$.html below:

NonLocalReturns

scala.util.control.NonLocalReturns

Library implementation of nonlocal return.

Usage:

import scala.util.control.NonLocalReturns.*

returning { ... throwReturn(x) ... }

This API has been deprecated. Its functionality is better served by

The new abstractions work with plain RuntimeExceptions and are more performant, since returns within the scope of the same method can be rewritten by the compiler to jumps.

Attributes
Deprecated
[Since version 3.3] Use scala.util.boundary instead
Source
NonLocalReturns.scala
Graph
Supertypes
Self type
Members list Attributes
Deprecated
[Since version 3.3] Use scala.util.boundary.Break instead
Source
NonLocalReturns.scala
Supertypes

Enable nonlocal returns in op.

Enable nonlocal returns in op.

Attributes
Deprecated
[Since version 3.3] Use scala.util.boundary instead
Source
NonLocalReturns.scala

Performs a nonlocal return by throwing an exception.

Performs a nonlocal return by throwing an exception.

Attributes
Deprecated
[Since version 3.3] Use scala.util.boundary.break instead
Source
NonLocalReturns.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4