Skip to content

Parsing error on specific explicit type expression #539

@bobismijnnaam

Description

@bobismijnnaam

The following example doesn't parse:

function f(): Int
{
  (f(R[0..][..5], true): Int)
}

I think according to the tutorial it should. Can it be fixed? Notice that the "..5" expression can be replaced by "0", or the ": Int" part can be removed, to make the example parse again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions