Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
houd1ni opened this issue Nov 17, 2019 · 1 comment
Open

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

houd1ni opened this issue Nov 17, 2019 · 1 comment
Labels

Comments

@houd1ni
Copy link

houd1ni commented Nov 17, 2019

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

@andrei-markeev
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants