-
Notifications
You must be signed in to change notification settings - Fork 852
FS3356 Extension members #19539
Copy link
Copy link
Closed
Labels
Milestone
Description
The following code used to work
module Test =
type Holding.Position with
member this.X = ""
member this.Y = ""
type Reporting.Position with
member this.A = ""
member this.B = ""
Where these types are declared somewhere else. In the new compiler I now get:
Extension members extending types with the same simple name 'Position' but different fully qualified names cannot be defined in the same module. Consider defining these extensions in separate modules.
I have reported this is a bug since this has always worked over many versions. The error is very specific though, is this a new behaviour and breaking change?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done