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

Invalid copy removal #1628

Closed
athas opened this issue Apr 7, 2022 · 0 comments
Closed

Invalid copy removal #1628

athas opened this issue Apr 7, 2022 · 0 comments

Comments

@athas
Copy link
Member

athas commented Apr 7, 2022

def main b (xs: *[2][3]i64) =
	let v = if b then iota 3 else copy xs[1]
  in xs with [0] = v

Very similar to #1615.

@athas athas closed this as completed in e27c0f3 Apr 7, 2022
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

No branches or pull requests

1 participant