-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
the following code:
type AH() =
member val X = 0 with get,set
type GM() =
member val ah = AH() with get,set
static member F() = GM()
let foo(ah: AH) =
let x = GM()
x.ah.X <- ah.X // look here
x
but, when I change ah to Ah, it becomes normal:
type AH() =
member val X = 0 with get,set
type GM() =
member val Ah = AH() with get,set // change
static member F() = GM()
let foo(ah: AH) =
let x = GM()
x.Ah.X <- ah.X // change
x
The above happened in Microsoft Visual Studio Enterprise 2022 17.4.2
Metadata
Metadata
Assignees
Labels
Area-LangService-CodeFixesCode fixes associated with diagnosticsCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Projects
Status
Done


