Bug #55
closed
Amreg() command doesnt compile
Added by Anonymous almost 5 years ago.
Updated almost 5 years ago.
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..
This still seems to be happening in v9.3.1?
- Related to Bug #1: if Amreg(13) < 0 added
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...
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to 0.9.3.2
- 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.
Also available in: Atom
PDF