Skip to content

Probably inconsistent error range for FS0053 #15507

@psfinaki

Description

@psfinaki

I am not entirely sure if this is a bug - but this is at least confusing.
Why in the 2nd case the squiggly is shown for the whole line? (as opposed to just "myException").
image

Code:

type MyType = number of int

exception myException of string

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions