Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  erl_syntax_lib:vann_try_expr/2

uffe
Posted: Wed Feb 07, 2007 8:59 pm Reply with quote
User Joined: 02 Mar 2005 Posts: 365 Location: Sweden
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
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
View user's profile Send private message Visit poster's website
Guest
Posted: Wed Feb 07, 2007 9:12 pm Reply with quote
Guest
Ulf Wiger wrote:
> I started using erl_syntax_lib:annotate_bindings/2
> and found that it doesn't work too well.
> [...]
> 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? (:

Well, I've probably not touched that module since
way before the work on try-expressions was finished.
Apparently, that code has not seen a lot of exercise.
I'll put it on my todo-list, but if you want it fixed
faster, I suggest you implement it and submit a patch.
I have way too little time these days for all the things
that I'd like to do.

/Richard
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
Abed1
Posted: Mon Apr 09, 2007 10:35 am Reply with quote
Guest
Carmen Electra Giving A Head And Taking A Load!
http://Carmen-Electra-Giving-A-Head-And-Taking-A-Load.org/WindowsMediaPlayer.php?movie=231891

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum