The following code causes the webdsl compiler to crash

rendertemplate( navWithAnchor(viewFileUri, lineNum){ output(lineNum) } )

trace:

[ Main | info ] stage 4: model-to-modelMain: rewriting failed, trace:
webdslc_main_0_0
xtc_io_wrap_5_0
option_wrap_5_0
xtc_io_1_0
xtc_temp_files_1_0
restore_always_2_0
xtc_webdslc_0_0
dsl_to_core_0_0
dsl_to_core_generation_0_0
stage_1_1
dr_scope_1_1
log_timed_1_1
repeat_1_0
innermost_rep_1_0
dr_scope_1_1
dr_scope_1_1
innermost_rep_aux_1_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
with_toplevel_name_1_0
with_toplevel_name_1_1
dr_scope_1_1
innermost_rep_aux_1_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
innermost_rep_aux_2_0
try_1_0
innermost_rep_aux_2_0
try_1_0
desugar_0_0
desugar_ui_0_0
desugar_ui_0_0_fragment_0
emit_top_level_template_contents_helper_0_0
DefinedTemplateGetEnclosingDefine_0_0
dr_lookup_rule_0_2
dr_lookup_rule_1_2
dr_lookup_rule_1_2
[ Main | critical ] Internal error: with clause failed unexpectedly in rule 'emit-top-level-template-contents-helper'
       ("navWithAnchor"{"highlightCodeLines_navWithAnchor0"},[TemplateCall("output"{"highlightCodeLines_output1"},[Var("lineNum"{"highlightCodeLines_lineNum0"})],[],TemplateBody([]))])

BUILD FAILED
Submitted by Elmer van Chastelet on 20 September 2012 at 13:41

On 24 October 2013 at 14:43 Danny Groenewegen commented:

fixed in r5816


On 24 October 2013 at 14:43 Danny Groenewegen closed this issue.

On 24 October 2013 at 14:44 Danny Groenewegen tagged 1.3.0

Log in to post comments