Gives java compilation error, as it tries to invoke the addAll on a property, while the property is a derived one (which should still be possible):

entity A{
  col : [A] := getCol()

  function getCol() : [A]{
    return [ A{} ];
  }
  function x(){ 
     col.addAll( [ A{} ] );
  }
}

Submitted by Elmer van Chastelet on 7 July 2016 at 13:28

Log in to post comments