Fantom

Login | Register

JS: Assignment operator complie error #1683

go4
26 Oct 2011

@Js
class Main
{
  virtual Int x := 0

  Void main()
  {
    //this.x() = fan.sys.Int.plus(this.x(),4);
    x += 4
  }
}

Expected: this.x$(fan.sys.Int.plus(this.x(),4));

This occurs when the field is virtual or abstract .

andy
26 Oct 2011

Promoted to ticket #1683 and assigned to andy

andy
23 Feb 2012

Ticket resolved in 1.0.62

Fixed - changeset

Login or Register to Reply

Back | All Topics