Skip to content

Parser does not reject incomplete slice expression #162

Closed

Description

@Hackerpilot
void main(string[] args)
{
    auto x = args[0..];
}

should cause a parse error.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions