Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread Invalid string assignment not reported as an error
Fri, Mar 3 2017 6:19 AMPermanent Link

Michael Dreher

This code

procedure TForm1.Form1Create(Sender: TObject);
var s : string;
  s := string;

compiles. The JS output is invalid:

unit1_tform1.$p.tform1_form1create = function(sender)
  var $t = this, s = "";
  s = ;

Version 2.05B4 and 2.06B1

Michael Dreher