ghkweon / dwscript

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

Invalid array syntax crashes the compiler #487

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
var arr: array of float;
arr.SetLength[5]

Expected: This should raise a compile error.
Observed: This raises an error in the compiler (failed AS-cast in 
TdwsCompiler.ReadSymbol)

Original issue reported on code.google.com by masonwhe...@gmail.com on 7 Aug 2014 at 2:39

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

Original comment by zar...@gmail.com on 8 Aug 2014 at 7:16