| Author |
Message |
|
| eleberg at cbe.ericsson.s |
Posted: Wed Apr 30, 2003 7:12 am |
|
|
|
Guest
|
when compiling the test program below I get the error message:
/home/eleberg/test.erl:none: internal error in expand_module;
crash reason: {function_clause,[{dict,fetch_val,[a_record,[]]},
{sys_pre_expand,record_test,5},
{sys_pre_expand,expr,3},
{sys_pre_expand,guard_tests,3},
{sys_pre_expand,guard,3},
{sys_pre_expand,clauses,2},
{sys_pre_expand,function,5},
{sys_pre_expand,forms,2}|
more]}
/home/eleberg/test.erl:5: Warning: function a/1 is unused
i much prefer the error message:
/home/eleberg/test.erl:3: record a_record undefined
which i get with only 1 is_record() (ie, no ''or'' clause in the guard)
bengt
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| eleberg at cbe.ericsson.s |
Posted: Wed Apr 30, 2003 7:12 am |
|
|
|
Guest
|
when compiling the test program below I get the error message:
/home/eleberg/test.erl:none: internal error in expand_module;
crash reason: {function_clause,[{dict,fetch_val,[a_record,[]]},
{sys_pre_expand,record_test,5},
{sys_pre_expand,expr,3},
{sys_pre_expand,guard_tests,3},
{sys_pre_expand,guard,3},
{sys_pre_expand,clauses,2},
{sys_pre_expand,function,5},
{sys_pre_expand,forms,2}|
more]}
/home/eleberg/test.erl:5: Warning: function a/1 is unused
i much prefer the error message:
/home/eleberg/test.erl:3: record a_record undefined
which i get with only 1 is_record() (ie, no ''or'' clause in the guard)
bengt
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| 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
|
|
|