[erlang-bugs] core_lint:module/1 problem

Bjorn Gustavsson bgustavsson@REDACTED
Tue Jan 27 14:40:07 CET 2009


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



More information about the erlang-bugs mailing list