-
Notifications
You must be signed in to change notification settings - Fork 39
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
Destructuring Assignment Milestone 2 Code #72
base: 2022
Are you sure you want to change the base?
Conversation
lower.ts
Outdated
pushStmtsToLastBlock(blocks, ...valstmts); | ||
const iterClassName = r.a[0].name; | ||
if(va.tag==="id"){ | ||
var dummyNext: AST.Expr<[Type, SourceLocation]> = { tag: "call", name: `${iterClassName}$next`, arguments: [va] , a:[{ tag: "none" }, dummyLoc]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! we are from the calling conventions team. We talked about this. Please legalize this expression. And AST expression cannot have a tag:"call"
with name:"Range$next"
. It needs to be a method-call
. This is creating a conflict with our code and causing the tests range-test-1 and range-test-2 to fail. @techno96 @1Divija1 @pk38 @jpolitz @yalhessi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for letting us know. We are currently looking into it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the issue! Thanks :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! All the testcases pass now!
No description provided.