[erlang-questions] Re: Getting line number in backtrace?

Attila Rajmund Nohl attila.r.nohl@REDACTED
Fri Dec 3 17:40:23 CET 2010


2010/12/3, Brian Candler <B.Candler@REDACTED>:
> On Fri, Dec 03, 2010 at 07:22:35AM -0800, Thomas Lindgren wrote:
>> 1. Have you tried using the 'stable' version? I haven't gotten a lot of
>> feedback
>> on the 'devel' version, so it may have problems.
>
> I hadn't, because I thought 'stable' was for R8 or similarly early elang.
>
> I've just tried building 'stable' but it fails under R13B3:
>
> erlc +debug_info -o ebin vendor/smart_exceptions.erl
> vendor/smart_exceptions.erl:704: illegal guard expression
> vendor/smart_exceptions.erl:92: Warning: variable 'Opts' is unused
> vendor/smart_exceptions.erl:119: Warning: variable 'Err' is unused
> vendor/smart_exceptions.erl:154: Warning: variable 'La' is unused
> ...
> rake aborted!
> Command failed with status (1): [erlc +debug_info -o ebin
> vendor/smart_exce...]
> /v/git/rfe/Rakefile:16
>
> That line says:
>
> mapform0(F, C) when constant(C) ->
>     C.

That constant guard was removed in R13B.


More information about the erlang-questions mailing list