Skip to content

Parse error on generic abstract member definition #6650

@auduchinok

Description

@auduchinok

Removing the space before the colon in the following code results in a parse error with no error recovery.

[<AbstractClass>]
type T() =
    abstract Foo<'T> : 'T -> int

abstractGenericMethodSpace

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions