Export to GitHub

dwscript - issue #489

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


Posted on Sep 14, 2014 by Swift Camel

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)

Comment #1

Posted on Sep 15, 2014 by Happy Rabbit

Fixed by r2593

Status: Fixed

Labels:
Type-Defect Priority-Medium