[M3devel] compiler bug
Peter McKinna
peter.mckinna at gmail.com
Mon Jan 18 05:01:30 CET 2016
This is unusual.
PROCEDURE Test() =
VAR x,m := 1;
BEGIN
x := Word.Extract(x,m,n);
END Test;
induces
new source -> compiling test.m3
"../src/test.m3", line 190: undefined (n)
***
*** runtime error:
*** An enumeration or subrange value was out of range.
*** file "../AMD64_LINUX/WordExtract.m3 =>
../src/builtinWord/Extract.mg", l
ine 120
***
Aborted (core dumped)
fix the undefined n and it compiles ok.
Any takers to fix this?
Should have a bug tracking system really.
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20160118/74886b72/attachment-0001.html>
More information about the M3devel
mailing list