Skip to content

Zero-length slices with s![] causes recursion error #693

Closed
@aldanor

Description

@aldanor

This is somewhat of a corner case, but it's not very nice to cause recursion errors when using s! macro with no arguments, like s![]:

error: recursion limit reached while expanding the macro `s`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions