ts2c
ts2c copied to clipboard
Error in gcc: error: 'struct a_t' has no member named 't'
input:
console.log("Hello world!");
var a = {t: 42}
function getT(a,b,c) { return a.b*c }
console.log(getT({b: 96}, 2, 3))
passed to gcc results in:

definitely a bug, structure name collision. thanks for reporting, I'll fix it!