[M3devel] Another Word bug

Peter McKinna peter.mckinna at gmail.com
Fri Feb 26 04:46:32 CET 2016


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)

Anyone??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20160226/b4e4e504/attachment-0001.html>


More information about the M3devel mailing list