Skip to content

In some cases, "Add missing equals" code fix breaks code even further #15547

@psfinaki

Description

@psfinaki
bug.mp4

This code:

type IA<'b> = 
    abstract Foo : int -> int

type = IB<'b> = 
    inherit IA<'b>
    inherit IA<int>

This is quite an odd scenario for this diag, I guess we just shouldn't trigger it there.

Metadata

Metadata

Assignees

Labels

Area-LangService-CodeFixesCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions