static function totalValue_update_clean ( ) : Void
    {
      var values := totalValue_dirty() ;
      if ( values.length != 0 )
      {
        log("Updating " + "Node.totalValue" + ": " + values.length);
      }
      totalValue_dirty_clean();
      update_totalValue(values);
    }

compiles to

	public static void $static$totalValue_update_clean_() {
		java.util.Set<webdsl.generated.domain.Node> values_ = this.totalValue_dirty_();
		if (!org.webdsl.tools.Utils.equal(values_.size(), 0)) {
			org.webdsl.logging.Logger.info("Updating " + "Node.totalValue" + ": " + values_.size());
		} else {
		}
		this.totalValue_dirty_clean_();
		this.update_totalValueSet_Node__(values_);
	}

but should compile to

	public static void $static$totalValue_update_clean_() {
		java.util.Set<webdsl.generated.domain.Node> values_ = $static$totalValue_dirty_();
		if (!org.webdsl.tools.Utils.equal(values_.size(), 0)) {
			org.webdsl.logging.Logger.info("Updating " + "Node.totalValue" + ": " + values_.size());
		} else {
		}
		$static$totalValue_dirty_clean_();
		$static$update_totalValueSet_Node__(values_);
	}
Submitted by Daco Harkes on 19 June 2015 at 11:27

On 19 June 2015 at 11:33 Elmer van Chastelet commented:

related: http://yellowgrass.org/issue/WebDSL/541

Log in to post comments