order shouldn’t matter here

define page root() {
define personedit(p:Person){}

var p_1 := Person{}

entity Person {}

but the typechecker incorrectly reports an error

workaround is to put the global var declaration before its use in the file

Submitted by Danny Groenewegen on 23 March 2010 at 16:47

Log in to post comments