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
arr = [] x = arr{}[0, 1] #=> expected [{}, {}], got {} arr #=> expected [{}, {}], got [null, null]
The above compiles to
var arr, x, ref$; arr = []; x = (ref$ = {}, arr[0] || (arr[0] = ref$[0]), arr[1] || (arr[1] = ref$[1]), ref$); arr;
but I should get something more like
var arr, x, ref$; arr = []; x = [(ref$ = arr)[0] || (ref$[0] = {}), ref$[1] || (ref$[1] = {})]; arr;
right?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The above compiles to
but I should get something more like
right?
The text was updated successfully, but these errors were encountered: