Java compilation error when using getEntity on Ref<SomeType> in template with action
Added as test: https://svn.strategoxt.org/websvn/WebDSL/webdsls/trunk/test/succeed-web/ref-arg-action.app?rev=5802&peg=5802
This triggers compilation error:define page show(text : Ref<Text>) { var type:= text.getEntity(); if (type is a TextEntity){ submitlink action{ return root(); } {"PASS"} } else { output("FAIL")} }
Javac error:
Submitted by Elmer van Chastelet on 8 October 2013 at 16:10/home/elmer/newLocation/test/succeed-web/.servletapp/src-generated/webdsl/generated/templates/RefArg_show_Template0.java:58: error: cannot find symbol return (java.util.List<Object>)(java.util.List<?>)webdsl.generated.domain.Entity.$static$all_(); ^ symbol: class Entity location: package webdsl.generated.domain
Issue Log
On 8 October 2013 at 16:41 Elmer van Chastelet commented:
Fixed in r5803
On 8 October 2013 at 16:41 Elmer van Chastelet closed this issue.
Log in to post comments