[erlang-bugs] core_lint:module/1 problem

Lars-Åke Fredlund lfredlund@REDACTED
Mon Jan 26 13:43:17 CET 2009


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).

/Lars-Ake Fredlund

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: schedule.core
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090126/00b11a75/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schedule.erl
Type: text/x-erlang
Size: 1557 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090126/00b11a75/attachment.bin>


More information about the erlang-bugs mailing list