[erlang-bugs] erl_syntax_lib:vann_try_expr/2

Ulf Wiger <>
Wed Feb 7 21:58:06 CET 2007


I started using erl_syntax_lib:annotate_bindings/2
and found that it doesn't work too well.

The problem seems to lie here:

vann_cond_expr(_Tree, _Env) ->
     erlang:error({not_implemented,cond_expr}).

vann_try_expr(_Tree, _Env) ->
     erlang:error({not_implemented,try_expr}).


I doesn't bother me much that cond_expr isn't
handled, since the parser doesn't handle it either,
but the lack of support for try expressions _is_
a bit troublesome.

Am I right in assuming that this was simply forgotten?  (:

BR,
Ulf W
-- 
Ulf Wiger



More information about the erlang-bugs mailing list