No, parser cannot understand `extraCode` in an object declaration, in the template, which is there an invalid syntax.
@Udiknedormin, concerning Error: cannot use symbol of kind 'var' as a 'field': that should be a bug, but I don't see such a behaviour with Nim 0.17.1.
