[erlang-bugs] try..catch unsafe variable
Vance Shipley
vances@REDACTED
Thu Nov 6 06:51:20 CET 2008
Matt,
http://www.erlang.org/doc/reference_manual/expressions.html#6.3:
"For the try expression introduced in Erlang 5.4/OTP-R10B,
variable scoping is limited so that variables bound in the
expression are always 'unsafe' outside the expression.
This will be improved."
-Vance
On Wed, Nov 05, 2008 at 08:59:06PM -0500, Matt Handler wrote:
} try expression of
} Val -> Reply = value
} catch
} _:_ -> Reply = exception
} end,
} {ok, Reply, state}.
More information about the erlang-bugs
mailing list