Spreading attributes from object requires comma
ezhlobo opened this issue · comments
Eugene Zhlobo commented
Forbes Lindesay commented
This should just be a case of treating ...
as a special case like we do with :
in https://github.com/pugjs/pug/blob/2f1110ec2ed8656253331e1e4b1b20b9d12185ee/packages/pug-lexer/index.js#L1221
Eugene Zhlobo commented
@ForbesLindesay thank you, that helped! Created pull request to pug-lexer:
Eugene Zhlobo commented
Fixed in v7.0.1