ghkweon / dwscript

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

Passing an expression to Array.Insert causes an internal compiler error #489

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
var myArray: array of real = [0, 1.8, 1.5];
var x := 3.5;
myArray.Insert(1, x / 2);

Expected:  This should work.
Observed: Internal compiler error.  (Failed AS-cast)

Original issue reported on code.google.com by masonwhe...@gmail.com on 14 Sep 2014 at 5:36

GoogleCodeExporter commented 8 years ago
Fixed by r2593

Original comment by zar...@gmail.com on 15 Sep 2014 at 8:11