Skip to content

Obtaining string address results in IndexError #7860

@endragor

Description

@endragor

Commit: c12726d

This code now produces IndexError, even though I think it shouldn't?

var s = ""
echo unsafeAddr(s[0])

Metadata

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