Skip to content

shape interpreter walks over fixed length vectors incorrectly #2613

Closed

Description

@msullivan
fn main() {
    let arr = [1,2,3]/3;
    log(error, {a: arr, b: 42});
}

results in the output

rust: ([1, 2, 3]/3, 1)

which is clearly wrong.

Activity

  1. pcwalton commented on Jun 15, 2012

    @pcwalton
    Contributor

    Probably an alignment bug.

  2. removed their assignment
    on Jun 16, 2014
  3. added 2 commits that reference this issue on Oct 24, 2022
  4. added a commit that references this issue on Jan 6, 2023
  5. added a commit that references this issue on Oct 20, 2025
  6. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions