In the following property declaration, the type of the default value does not comply with the type of the property.


weight :: Float (default=0)

This leads to an error in the generated Java code.


setWeight(java.lang.Float) in webdsl.generated.domain.ClassificationScheme cannot be applied to (int)
this.setWeight(0);

Submitted by Eelco Visser on 26 February 2011 at 15:50

Log in to post comments