[M3devel] Another Word bug
Rodney M. Bates
rodney_bates at lcwb.coop
Fri Feb 26 18:38:31 CET 2016
Fixed in fa9293a on github.
On 02/25/2016 09:46 PM, Peter McKinna wrote:
> Compiling this snippet with the typo & instead of ,
>
> PROCEDURE T() =
> VAR j : INTEGER;
> BEGIN
> j := Word.And(1 & 3);
> END T;
>
> gives
>
> "../src/Test.m3", line 7: illegal operand(s) for '&'
>
>
> ***
> *** runtime error:
> *** An array subscript was out of range.
> *** file "../AMD64_LINUX/WordAnd.m3 => ../src/builtinWord/And.mg", line 44
> ***
>
> Aborted (core dumped)
>
> A
--
Rodney Bates
rodney.m.bates at acm.org
More information about the M3devel
mailing list