Skip to content

function_type can't be parsed if receiver_type is a nested class #175

@hagl

Description

@hagl

In the playground this code

val x : A.B.() -> Unit

parses with the following error:

source_file [0, 0] - [1, 0]
  property_declaration [0, 0] - [0, 22]
    binding_pattern_kind [0, 0] - [0, 3]
    variable_declaration [0, 4] - [0, 22]
      simple_identifier [0, 4] - [0, 5]
      user_type [0, 8] - [0, 22]
        type_identifier [0, 8] - [0, 9]
        type_identifier [0, 10] - [0, 11]
        ERROR [0, 12] - [0, 17]
        type_identifier [0, 18] - [0, 22]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions