|
|
| Author |
Message |
|
| uffe |
Posted: Wed Feb 07, 2007 8:59 pm |
|
|
|
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 |
|
|
| Back to top |
|
| Guest |
Posted: Wed Feb 07, 2007 9:12 pm |
|
|
|
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 |
|
|
| Back to top |
|
| Abed1 |
Posted: Mon Apr 09, 2007 10:35 am |
|
|
|
Guest
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|