[erlang-bugs] core_lint:module/1 problem

Robert Virding rvirding@REDACTED
Sun Feb 1 14:47:53 CET 2009


Nice Björn, but if you're not careful you will get people actually writing
in Core. :-)

Robert
2009/1/27 Bjorn Gustavsson <bgustavsson@REDACTED>

> 2009/1/26 Lars-Åke Fredlund <lfredlund@REDACTED>:
>  > Version:   otp R12B-5 (not patched)
> > Problem:
> >   Applying core_lint:module/1 to a core erlang module generated by
> > compile:file(FileSpec,[to_core,binary] (without problems)
> > results in the error message:
> >   *** Core Erlang ERROR in module schedule: illegal guard expression in
> > reschedule/1
> >
> > Source code and core erlang code for function attached.
> > (apparently the checks for correct guards are too strict for try...
> guards).
>
> Your source code is not complete, so I can't run it through the compiler.
>
> However, for the R13 release I have extended the test suites to also test
> the
> core_lint pass and I have fixed all bugs exposed in core_lint as a
> result of that.
>
> /Björn
>
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-bugs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090201/38a48640/attachment.htm>


More information about the erlang-bugs mailing list