Project

General

Profile

Actions

Bug #61

closed

Requst Wb and Request On cause syntax errors.

Added by Brian Flanagan almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/21/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Example: Help_63 from AMOSPro_Examples disk.

These instructions should either:

  1. Simulate a workbench style requestor ...or...
  2. Produce an "Instruction not implemented" warning.
Actions #1

Updated by Baptiste Pillot almost 5 years ago

  • Assignee set to Francois Lionet
Actions #2

Updated by Francois Lionet almost 5 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.3.2

Fixed! Just forgot them in the token list...

Actions #3

Updated by Baptiste Pillot almost 5 years ago

Error during compilation
AOZ Transpiler Version 0.9.3.2 - 31/01/2020
By Francois 'Amos' Lionet (c) AOZ Studio 2019-2020
Website: https://aoz.studio
---------------------------------------------------------------------
Compiling /home/amos2/ide/input/tickleman/61, emulation: PC, speed: fast.
First pass...
Second pass...
main.aoz:1:1: Compiler error: crash during compilation: pass: 2
cannot read property '23' of undefined
typeerror: cannot read property '23' of undefined
at object.specialcases.handleonerror (c:\snapshot\compiler\compiler.js:0:0)
at secondpass (c:\snapshot\compiler\compiler.js:0:0)
at object.module.exports.compile (c:\snapshot\compiler\compiler.js:0:0)
at compile (c:\snapshot\compiler\aoz.js:0:0)
at aoz (c:\snapshot\compiler\aoz.js:0:0)
at object. (c:\snapshot\compiler\aoz.js:0:0)
at module._compile (pkg/prelude/bootstrap.js:1261:22)
at object.module._extensions..js (internal/modules/cjs/loader.js:787:10)
at module.load (internal/modules/cjs/loader.js:651:32)
at trymoduleload (internal/modules/cjs/loader.js:591:12)
Internal error
Task failed, no code generated...
Actions #4

Updated by Baptiste Pillot almost 5 years ago

  • Status changed from Resolved to Feedback
Actions #5

Updated by Francois Lionet almost 5 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 0.9.3.2 to 0.9.4

They do nothing, and do not report errors anymore.

Actions #6

Updated by Brian Flanagan almost 5 years ago

Just re-tested Help_63 in 0.9.5 (Test 2). There are no syntax errors, but the compiler still crashes with an Internal Error as it did before:

First pass...
Second pass...

Internal error
Task failed, no code generated...
main.aoz:1:1: Compiler error: crash during compilation: pass: 2
cannot read property '23' of undefined
typeerror: cannot read property '23' of undefined
    at object.specialcases.handleonerror (c:\snapshot\compiler\compiler.js:0:0)
    at secondpass (c:\snapshot\compiler\compiler.js:0:0)
    at object.module.exports.compile (c:\snapshot\compiler\compiler.js:0:0)
    at compile (c:\snapshot\compiler\aoz.js:0:0)
    at aoz (c:\snapshot\compiler\aoz.js:0:0)
    at object.<anonymous> (c:\snapshot\compiler\aoz.js:0:0)
    at module._compile (pkg/prelude/bootstrap.js:1261:22)
    at object.module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at module.load (internal/modules/cjs/loader.js:651:32)
    at trymoduleload (internal/modules/cjs/loader.js:591:12)

Actions #7

Updated by Brian Flanagan over 4 years ago

  • Status changed from Resolved to Feedback
  • Affected version changed from 0.9.3 to 0.9.5

I'm not seeing any syntax errors, however, Help_63 still fails with an Internal error.

This may or may not be related to the Request Wb / Request On errors.

Still failing in 0.9.5.1, as it did in 0.9.5.

Actions #8

Updated by Brian Flanagan over 4 years ago

  • Status changed from Feedback to Closed

Tested again in 0.9.8.

Did further checking. The Request Wb / Request On no longer cause syntax errors. They still don't work. (I assume not implemented.)
The internal error was caused by the Load command. Making a new bug report for that.

Actions

Also available in: Atom PDF