andrei-markeev/ts2c

Error in gcc: error: 'struct a_t' has no member named 't'

houd1ni opened this issue · 1 comments

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:
image

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