visionmedia/jade — Issue #392: function inside mixin 
Author: nooo666
Created: 2011-10-31 18:48:30+00:00
State: open

Hi,
Is this an issue or I do something wrong?
I have the following into the jade file

- var ujast = {}
mixin h-field(
util.somefun(ujast)
)

The compiler generates the following

h_field_mixin(
util.somefun(ujast);
__.shift();
__.unshift({ lineno: 11, filename: __[0].filename });
buf.push(')\n');
__.shift();
__.shift();

The result of compiling is:
SyntaxError: Unexpected token ;