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

In-place lowering bug #1457

Closed
athas opened this issue Sep 3, 2021 · 0 comments
Closed

In-place lowering bug #1457

athas opened this issue Sep 3, 2021 · 0 comments

Comments

@athas
Copy link
Member

athas commented Sep 3, 2021

let main [n][m] (xs: *[n][m]f64) =
  #[unsafe]
  let (a, b) = unzip (tabulate m (\i -> (f64.sqrt (f64.i64 i), f64.cos (f64.i64 i))))
  let xs[0] = a
  let xs[1] = b
  in (a, xs)
@athas athas closed this as completed in 42be3a2 Sep 3, 2021
athas added a commit that referenced this issue Jan 20, 2022
Turned out to be the exact same issue as #1457.
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