- 
                Notifications
    
You must be signed in to change notification settings  - Fork 833
 
Open
Labels
BugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.help wanted
Milestone
Description
I think the code below should not compile.
Repro steps
Provide the steps required to reproduce the problem:
type LabeledProperty = 
    abstract member alert: title:string * message:string option -> unit with get,setLooking at the C# output it gives the following result which looks incomplete.
[CompilationMapping(SourceConstructFlags.Module)]
public static class @_
{
    [Serializable]
    [CompilationMapping(SourceConstructFlags.ObjectType)]
    public interface LabeledProperty
    {
        override Unit alert { get; set; }
    }
}Expected behavior
F# compiler should fails the compilation ?
Provide any related information (optional):
- Operating system: OSX
 - .NET Runtime kind (.NET Core, .NET Framework, Mono): .NET Core 8.0.401
 - Editing Tools (e.g. Visual Studio Version, Visual Studio)
 
Metadata
Metadata
Assignees
Labels
BugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.help wanted
Type
Projects
Status
In Progress