Closed are closed 7 years ago
Sweet.js without any macros inside input file removes () from this code:
()
var m = new _DustObject3.default();
It becomes this:
var m = new _DustObject3.default;
Is this intentional?
Yep, it's intentional. When there are no arguments new doesn't need the parens so codegen will just omit them.
new
Sweet.js without any macros inside input file removes
()
from this code:It becomes this:
Is this intentional?