The multipleRefsInParentheses function in:

entity Tmp {
  name : String
  i : Int
  n : Tmp
  function get: String {
    return name;
  }
  function interpInEntity: String{
    return "~i~this.i~n~this.n~this.n.n~get()~this.get()";
  }
  derived : String := "~i~this.i~n~this.n~this.n.n~get()~this.get()"
  function navfun: String {
    log(navigate( navfun( this ) ));
    return "~navigate( navfun( this ) )";
  }
  
  function multipleRefsInParentheses() : String{
    return "bla: ~(n == null || get() == "")";
  }
}

results in:

.servletapp/src-generated/webdsl/generated/domain/Tmp.java:354: error: variable this_ is already defined in method c$1(Tmp,Tmp)
private static String c$1(webdsl.generated.domain.Tmp this_,webdsl.generated.domain.Tmp this_){
Submitted by Elmer van Chastelet on 18 January 2024 at 15:50


On 24 January 2024 at 16:02 Danny Groenewegen closed this issue.

Log in to post comments