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

Destructuring Assignment Milestone 2 Code #72

Open
wants to merge 34 commits into
base: 2022
Choose a base branch
from

Conversation

techno96
Copy link
Contributor

No description provided.

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]}

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

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the issue! Thanks :)

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!

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

Successfully merging this pull request may close these issues.

4 participants