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

Incomplete implementation of assignments in Compile.hs #50

Open
ryzhyk opened this issue Jul 6, 2018 · 0 comments
Open

Incomplete implementation of assignments in Compile.hs #50

ryzhyk opened this issue Jul 6, 2018 · 0 comments
Assignees

Comments

@ryzhyk
Copy link
Contributor

ryzhyk commented Jul 6, 2018

We currently don't have a way to compile arbitrary l-values to Rust, e.g.,

Constructor{var x, var y} = z

is ok, but

Constructor{x, y} = z

where x and y are previously introduced variables is illegal.

Either implement the logic to support this translation (e.g., by assigning to intermediate variables) or modify validation logic to disallow such programs

@ryzhyk ryzhyk added the bug Something isn't working label Jul 6, 2018
@ryzhyk ryzhyk self-assigned this Jul 6, 2018
@ryzhyk ryzhyk added not implemented and removed bug Something isn't working labels Jul 6, 2018
@ryzhyk ryzhyk changed the title Incomplete implementation of assighments in Compile.hs Incomplete implementation of assignments in Compile.hs Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant