Entity method is incorrectly translated, caused by name overlap, indicating an error in function overload handling (entity method should not take part in any renaming for overloading here).

entity A{
  function same(a:A){}
}
entity B{}
function same(b:B){}
function same(a:A){}
test{
  A{}.same(A{});
}



.../.servletapp/src-generated/webdsl/generated/test/Test0.java:48: cannot find symbol
symbol  : method same_(webdsl.generated.domain.A)
location: class webdsl.generated.domain.A
      webdsl.generated.functions._objCr0_._objCr0_().same_(webdsl.generated.functions._objCr1_._objCr1_());
                                                    ^
Submitted by Danny Groenewegen on 10 October 2011 at 18:48

On 10 October 2011 at 18:48 Danny Groenewegen tagged 1.2.9

On 6 February 2012 at 19:14 Elmer van Chastelet commented:

Seealso: function-predicate-renaming.app


On 9 February 2012 at 11:04 Christoffer Gersen commented:

Fixed in revision 4913.


On 9 February 2012 at 11:04 Christoffer Gersen closed this issue.

Log in to post comments