Output is defined twice (see http://buildfarm.st.ewi.tudelft.nl/ptg/repos/Gamestile rev 83), results in the following errors:

–servlet -i ../Gamestile.app –session-timeout 120 –enable-caching 1
[ webdslc | info ] stage 1: parsing Gamestile.app : [user/system] = [0.08s/0.01s]
[ webdslc | info ] stage 2: importing modules : [user/system] = [0.02s/0.00s]
[ webdslc | info ] stage 3: typechecking
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,)
[ webdslc | error ] Cannot rewrite to box:
[AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}]
[ webdslc | error ] Cannot rewrite to box:
Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])
[ webdslc | error ] Cannot rewrite to box:
IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)}
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,)
[ webdslc | error ] Cannot rewrite to box:
[AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}]
[ webdslc | error ] Cannot rewrite to box:
Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])
[ webdslc | error ] Cannot rewrite to box:
IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)}
[ webdslc | error ] No pp entry found for: (5,)
[ webdslc | error ] Cannot rewrite to box:
[IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}]
[ webdslc | error ] Cannot rewrite to box:
Block([IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}])
[ webdslc | error ] Cannot rewrite to box:
Action(“poke”{“output_poke0”},[Arg(“p”{“output_p4”},SimpleSort(“Play”))],Block([IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}]))
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,)
[ webdslc | error ] Cannot rewrite to box:
[AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}]
[ webdslc | error ] Cannot rewrite to box:
Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])
[ webdslc | error ] Cannot rewrite to box:
IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)}
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,[“AjaxRunScript”])
[ webdslc | error ] Cannot rewrite to box:
AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}
[ webdslc | error ] Cannot rewrite to box:
AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}
[ webdslc | error ] No pp entry found for: (1,)
[ webdslc | error ] Cannot rewrite to box:
[AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}]
[ webdslc | error ] Cannot rewrite to box:
Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])
[ webdslc | error ] Cannot rewrite to box:
IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)}
[ webdslc | error ] No pp entry found for: (5,)
[ webdslc | error ] Cannot rewrite to box:
[IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}]
[ webdslc | error ] Cannot rewrite to box:
Block([IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}])
[ webdslc | error ] Cannot rewrite to box:
Action(“poke”{“output_poke0”},[Arg(“p”{“output_p4”},SimpleSort(“Play”))],Block([IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}]))
[ webdslc | error ] No pp entry found for: (9,)
[ webdslc | error ] Cannot rewrite to box:
[InitAction(Block([Stat(ThisCall(“log”,[Call(Eq(Var(“p”{“output_p1”}),Null{At(“../Play.app”,103,13)}){At(“../Play.app”,103,8)},“toString”,[]){At(“../Play.app”,103,7)}]){At(“../Play.app”,103,3)}){At(“../Play.app”,103,3)}])),Action(“poke”{“output_poke0”},[Arg(“p”{“output_p4”},SimpleSort(“Play”))],Block([IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}])),Action(“start”{“output_start0”},[Arg(“p”{“output_p5”},SimpleSort(“Play”))],Block([IfNoElse(Call(Var(“p”{“output_p5”}),“isStartable”,[]){At(“../Play.app”,117,6)},Block([Stat(Call(Var(“p”{“output_p5”}),“start”,[]){At(“../Play.app”,118,4)}){At(“../Play.app”,118,4)},AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).hide();"”){At(“../Play.app”,119,14)}){At(“../Play.app”,119,4)}){At(“../Play.app”,119,4)}])){At(“../Play.app”,117,3)}])),TemplateCallPropsNoArgs(“block”{“output_block1”},[PropertyAssignment(“style”,String(“"display:none;"”){At(“../Play.app”,122,18)}){At(“../Play.app”,122,9)}],TemplateBody([Submit(String(“"Refresh."”){At(“../Play.app”,123,10)},ActionCall(“poke”{“output_poke0”},[Var(“p”{“output_p1”})]){ThisCallParent(“output”{“output9”}),DirectEnclosingDefine(“output”{“output9”}),At(“../Play.app”,123,22)},[PropertyAssignment(“id”,“refresh”){At(“../Play.app”,123,31)},TemplateCallPropertyAjax{At(“../Play.app”,123,46)}]){At(“../Play.app”,123,3)}]){At(“../Play.app”,122,34)}){At(“../Play.app”,122,2)},TemplateCallPropsNoArgs(“block”{“output_block2”},[PropertyAssignment(“id”,“startButtonHolder”){At(“../Play.app”,125,9)},PropertyAssignment(“style”,String(“"display:none;"”){At(“../Play.app”,125,43)}){At(“../Play.app”,125,34)}],TemplateBody([Submit(String(“"Start."”){At(“../Play.app”,126,10)},ActionCall(“start”{“output_start0”},[Var(“p”{“output_p1”})]){ThisCallParent(“output”{“output9”}),DirectEnclosingDefine(“output”{“output9”}),At(“../Play.app”,126,20)},[TemplateCallPropertyAjax{At(“../Play.app”,126,30)}]){At(“../Play.app”,126,3)}]){At(“../Play.app”,125,59)}){At(“../Play.app”,125,2)},JSElement([],[JSString(“var refreshtimer;\n\t\tfunction setRefreshTimer(){\n\t\t\tclearTimeout(refreshtimer);\n\t\t\trefreshtimer = setTimeout(function() {\n\t\t\t\t$("#refresh").click();\n\t\t\t\tsetRefreshTimer();\n\t\t\t},1000);\n\t\t}\n\t\tsetRefreshTimer();\n\t”){At(“../Play.app”,129,3)}]){At(“../Play.app”,128,2)},Placeholder(“selectorHolder”,[TemplateCallNoBody(“showSelector”{“output_showSelector2”},[Var(“p”{“output_p1”})]){At(“../Play.app”,140,3)}]),Placeholder(“boardHolder”,[TemplateCallNoBody(“showBoard”{“output_showBoard2”},[Var(“p”{“output_p1”})]){At(“../Play.app”,143,3)}]),Placeholder(“statusHolder”,[TemplateCallNoBody(“showStatus”{“output_showStatus2”},[Var(“p”{“output_p1”})]){At(“../Play.app”,146,3)}])]
[ webdslc | error ] Cannot rewrite to box:
Define([NoSpan{At(“../Play.app”,101,8)}],“output”{“output9”},[Arg(“p”{“output_p1”},SimpleSort(“Play”))],None{At(“../Play.app”,101,32)},[InitAction(Block([Stat(ThisCall(“log”,[Call(Eq(Var(“p”{“output_p1”}),Null{At(“../Play.app”,103,13)}){At(“../Play.app”,103,8)},“toString”,[]){At(“../Play.app”,103,7)}]){At(“../Play.app”,103,3)}){At(“../Play.app”,103,3)}])),Action(“poke”{“output_poke0”},[Arg(“p”{“output_p4”},SimpleSort(“Play”))],Block([IfNoElse(And(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,106,6)},Call(Var(“p”{“output_p4”}),“shouldStart”,[]){At(“../Play.app”,106,25)}){At(“../Play.app”,106,6)},Block([Stat(Call(Var(“p”{“output_p4”}),“start”,[]){At(“../Play.app”,107,4)}){At(“../Play.app”,107,4)}])){At(“../Play.app”,106,3)},IfNoElse(Call(Var(“p”{“output_p4”}),“isStartable”,[]){At(“../Play.app”,109,6)},Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”){At(“../Play.app”,110,14)}){At(“../Play.app”,110,4)}){At(“../Play.app”,110,4)}])){At(“../Play.app”,109,3)},AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”{“output_showBoard1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,112,24)}){At(“../Play.app”,112,3)}){At(“../Play.app”,112,3)},AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”{“output_showStatus1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,113,25)}){At(“../Play.app”,113,3)}){At(“../Play.app”,113,3)},AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”{“output_showSelector1”},[Var(“p”{“output_p4”})]){At(“../Play.app”,114,27)}){At(“../Play.app”,114,3)}){At(“../Play.app”,114,3)}])),Action(“start”{“output_start0”},[Arg(“p”{“output_p5”},SimpleSort(“Play”))],Block([IfNoElse(Call(Var(“p”{“output_p5”}),“isStartable”,[]){At(“../Play.app”,117,6)},Block([Stat(Call(Var(“p”{“output_p5”}),“start”,[]){At(“../Play.app”,118,4)}){At(“../Play.app”,118,4)},AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).hide();"”){At(“../Play.app”,119,14)}){At(“../Play.app”,119,4)}){At(“../Play.app”,119,4)}])){At(“../Play.app”,117,3)}])),TemplateCallPropsNoArgs(“block”{“output_block1”},[PropertyAssignment(“style”,String(“"display:none;"”){At(“../Play.app”,122,18)}){At(“../Play.app”,122,9)}],TemplateBody([Submit(String(“"Refresh."”){At(“../Play.app”,123,10)},ActionCall(“poke”{“output_poke0”},[Var(“p”{“output_p1”})]){ThisCallParent(“output”{“output9”}),DirectEnclosingDefine(“output”{“output9”}),At(“../Play.app”,123,22)},[PropertyAssignment(“id”,“refresh”){At(“../Play.app”,123,31)},TemplateCallPropertyAjax{At(“../Play.app”,123,46)}]){At(“../Play.app”,123,3)}]){At(“../Play.app”,122,34)}){At(“../Play.app”,122,2)},TemplateCallPropsNoArgs(“block”{“output_block2”},[PropertyAssignment(“id”,“startButtonHolder”){At(“../Play.app”,125,9)},PropertyAssignment(“style”,String(“"display:none;"”){At(“../Play.app”,125,43)}){At(“../Play.app”,125,34)}],TemplateBody([Submit(String(“"Start."”){At(“../Play.app”,126,10)},ActionCall(“start”{“output_start0”},[Var(“p”{“output_p1”})]){ThisCallParent(“output”{“output9”}),DirectEnclosingDefine(“output”{“output9”}),At(“../Play.app”,126,20)},[TemplateCallPropertyAjax{At(“../Play.app”,126,30)}]){At(“../Play.app”,126,3)}]){At(“../Play.app”,125,59)}){At(“../Play.app”,125,2)},JSElement([],[JSString(“var refreshtimer;\n\t\tfunction setRefreshTimer(){\n\t\t\tclearTimeout(refreshtimer);\n\t\t\trefreshtimer = setTimeout(function() {\n\t\t\t\t$("#refresh").click();\n\t\t\t\tsetRefreshTimer();\n\t\t\t},1000);\n\t\t}\n\t\tsetRefreshTimer();\n\t”){At(“../Play.app”,129,3)}]){At(“../Play.app”,128,2)},Placeholder(“selectorHolder”,[TemplateCallNoBody(“showSelector”{“output_showSelector2”},[Var(“p”{“output_p1”})]){At(“../Play.app”,140,3)}]),Placeholder(“boardHolder”,[TemplateCallNoBody(“showBoard”{“output_showBoard2”},[Var(“p”{“output_p1”})]){At(“../Play.app”,143,3)}]),Placeholder(“statusHolder”,[TemplateCallNoBody(“showStatus”{“output_showStatus2”},[Var(“p”{“output_p1”})]){At(“../Play.app”,146,3)}])]){At(“../Play.app”,101,1)}
* Play.app:101/2: error: Template with signature output(Play) is defined multiple times.
Define([NoSpan],“output”,[Arg(“p”,SimpleSort(“Play”))],None,[InitAction(Block([Stat(ThisCall(“log”,[Call(Eq(Var(“p”),Null),“toString”,[])]))])),Action(“poke”,[Arg(“p”,SimpleSort(“Play”))],Block([IfNoElse(And(Call(Var(“p”),“isStartable”,[]),Call(Var(“p”),“shouldStart”,[])),Block([Stat(Call(Var(“p”),“start”,[]))])),IfNoElse(Call(Var(“p”),“isStartable”,[]),Block([AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).css(‘display’, ‘block’);"”)))])),AjaxStatement(AjaxReplace(“boardHolder”,TemplateCallNoBody(“showBoard”,[Var(“p”)]))),AjaxStatement(AjaxReplace(“statusHolder”,TemplateCallNoBody(“showStatus”,[Var(“p”)]))),AjaxStatement(AjaxReplace(“selectorHolder”,TemplateCallNoBody(“showSelector”,[Var(“p”)])))])),Action(“start”,[Arg(“p”,SimpleSort(“Play”))],Block([IfNoElse(Call(Var(“p”),“isStartable”,[]),Block([Stat(Call(Var(“p”),“start”,[])),AjaxStatement(AjaxRunScript(String(“"$(‘#startButtonHolder’).hide();"”)))]))])),TemplateCallPropsNoArgs(“block”,[PropertyAssignment(“style”,String(“"display:none;"”))],TemplateBody([Submit(String(“"Refresh."”),ActionCall(“poke”,[Var(“p”)]),[PropertyAssignment(“id”,“refresh”),TemplateCallPropertyAjax])])),TemplateCallPropsNoArgs(“block”,[PropertyAssignment(“id”,“startButtonHolder”),PropertyAssignment(“style”,String(“"display:none;"”))],TemplateBody([Submit(String(“"Start."”),ActionCall(“start”,[Var(“p”)]),[TemplateCallPropertyAjax])])),JSElement([],[JSString(“var refreshtimer;\n\t\tfunction setRefreshTimer(){\n\t\t\tclearTimeout(refreshtimer);\n\t\t\trefreshtimer = setTimeout(function() {\n\t\t\t\t$("#refresh").click();\n\t\t\t\tsetRefreshTimer();\n\t\t\t},1000);\n\t\t}\n\t\tsetRefreshTimer();\n\t”)]),Placeholder(“selectorHolder”,[TemplateCallNoBody(“showSelector”,[Var(“p”)])]),Placeholder(“boardHolder”,[TemplateCallNoBody(“showBoard”,[Var(“p”)])]),Placeholder(“statusHolder”,[TemplateCallNoBody(“showStatus”,[Var(“p”)])])])
* Play.app:248/2: error: Template with signature output(Play) is defined multiple times.
define output ( p : Play ) { output(p.name) "": "" output(p.game.name) "" ""
““(”” output(p.players.length) ““/”” output(p.game.maxPlayers) "") "" if ( p.gameOver ) {
““-finished””
} }
: [user/system] = [0.40s/0.01s]

BUILD FAILED
Total time: 2 secondsf

Submitted by Sverre Rabbelier on 24 March 2010 at 13:49

On 24 March 2010 at 14:15 Danny Groenewegen commented:

added missing pretty-print definitions in revision 3773

Log in to post comments