ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Assertion failure #372

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Code:

var a := [1,2,3];
var x := 1 / a[1

Result:

---------------------------
dws
---------------------------
Assertion failure (C:\DWS\Source\dwsConstExprs.pas, line 542)
---------------------------
ОК   
---------------------------

Original issue reported on code.google.com by kazantse...@mail.ru on 20 Apr 2013 at 9:17

GoogleCodeExporter commented 8 years ago
Slightly changed code for access violation:

var a := [1,2,3];
var x := 1 / a[)

Output:

Syntax Error: Expression expected [line: 2, column: 16]
Syntax Error: Access violation at address 00554237 in module 'dws.exe'. Read of 
address 00000004

Original comment by kazantse...@mail.ru on 20 Apr 2013 at 9:32

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1955.

Original comment by zar...@gmail.com on 22 Apr 2013 at 9:52