webdsl build dies
I’m getting the following error: http://pastebin.com/wFnu9u3t
Code is on:
http://buildfarm.st.ewi.tudelft.nl/ptg/repos/Gamestile/Gamestile/ revision 38
Relevant snippet:
define page createPlay() {
var play : Play;
var name : String;
var game : Game;action submitAction() { play := game.newPlay(); play.game := game; play.save(); return joinPlay(play); } main("Start Game"){ playForm(name, game) { submit("Start Game", submitAction()) } }
}
define playForm(name: String, game : game) {
Submitted by Sverre Rabbelier on 17 March 2010 at 21:37
form{
table {
row{ label(“Name”){input(name)}}
row{ label(“Game type”){input(game)} }
}
elements()
}
}
Issue Log
On 17 March 2010 at 21:39 Sverre Rabbelier commented:
Ah, silly typo on my part, the playForm method should of course have been “game: Game” (instead of “game: game”. Either way, compiler should give an error, not die :).
On 20 March 2010 at 22:17 Nathan Bruning commented:
Duplicate of #36
Log in to post comments