Bug #55
Amreg() command doesnt compile
Start date:
01/21/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Any command with Amreg(n) produces this error:-
error: message not found typeerror: cannot read property 'indexof' of undefined:(, , , )
eg :-
If Amreg(13)<0 xor Amreg(14)<0
If A>95 and A<100 and Amreg(4+P)=0
If Amreg(7-P)>0 and Y Bob(P)<140
etc..
Related issues
Updated by Baptiste Pillot over 4 years ago
- source : https://www.amos2.fr/ide/Amos2/Ide/Program/431
- compilation result (0.9.3.1) :
main.aoz:2:12: error: message not found typeerror: cannot read property 'indexof' of undefined:(, , , ) main.aoz:2:24: error: syntax error main.aoz:1:1: Compiler error: crash during compilation: pass: 1 typeerror: cannot read property 'charat' of undefined Internal error Error during compilation AOZ Transpiler Version 0.9.3.1 - 21/01/2020 By Francois 'Amos' Lionet (c) AOZ Studio 2019 Website: https://aoz.studio Support the project on Patreon: http://www.patreon.com/francoislionet --------------------------------------------------------------------- PATH->Z:/home/amos2/compiler/0.9.3.1/languages Removing directory: /home/amos2/ide/input/tickleman/55/html Compiling /home/amos2/ide/input/tickleman/55, emulation: PC, speed: fast. First pass... main.aoz:2:12: error: message not found typeerror: cannot read property 'indexof' of undefined:(, , , ) main.aoz:2:24: error: syntax error main.aoz:1:1: Compiler error: crash during compilation: pass: 1 cannot read property 'charat' of undefined typeerror: cannot read property 'charat' of undefined at firstpass (c:\snapshot\compiler\compiler.js) at object.compile (c:\snapshot\compiler\compiler.js) at compile (c:\snapshot\compiler\aoz.js) at aoz (c:\snapshot\compiler\aoz.js) at object. (c:\snapshot\compiler\aoz.js) at module._compile (pkg/prelude/bootstrap.js:1261:22) at object.module._extensions..js (internal/modules/cjs/loader.js:993:10) at module.load (internal/modules/cjs/loader.js:813:32) at function.module._load (internal/modules/cjs/loader.js:725:14) at function.module.runmain (pkg/prelude/bootstrap.js:1316:12) Internal error Task failed, no code generated...
Updated by Francois Lionet over 4 years ago
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to 0.9.3.2
Fixed!
Updated by Baptiste Pillot about 4 years ago
- Status changed from Resolved to Closed
I do not know what my test program is supposed to display... it displays nothing, but : it compiles, and runs without error.
So, it's ok with me.