Skip to content

ARC: No indexError thrown on out-of-bound seq access, SIGSEGV instead #12961

Closed
@zevv

Description

The below snippet throws IndexError with the normal GC, but instead crashes with a segmentation fault on --gc:arc

let a = @[1]
echo a[2]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions