ts2c icon indicating copy to clipboard operation
ts2c copied to clipboard

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

Open houd1ni opened this issue 6 years ago • 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

houd1ni avatar Nov 17 '19 12:11 houd1ni

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

andrei-markeev avatar Dec 31 '19 00:12 andrei-markeev