Project

General

Profile

Actions

Bug #55

closed

Amreg() command doesnt compile

Added by Anonymous almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
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 1 (0 open1 closed)

Related to AOZ Studio V1 (TBD bugs clean/-> V2) - Bug #1: if Amreg(13) < 0ClosedFrancois Lionet01/17/2020

Actions
Actions #1

Updated by Jason Wroe almost 5 years ago

Jason Wroe

Actions #2

Updated by Jason Wroe almost 5 years ago

This still seems to be happening in v9.3.1?

Actions #3

Updated by Baptiste Pillot almost 5 years ago

  • Related to Bug #1: if Amreg(13) < 0 added
Actions #4

Updated by Baptiste Pillot almost 5 years ago

    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... 
Actions #5

Updated by Francois Lionet almost 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Francois Lionet
  • Target version set to 0.9.3.2

Fixed!

Actions #6

Updated by Baptiste Pillot almost 5 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.

Actions

Also available in: Atom PDF