Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static member turns into instance member #3857

Closed
goswinr opened this issue Jun 19, 2024 · 2 comments
Closed

Static member turns into instance member #3857

goswinr opened this issue Jun 19, 2024 · 2 comments

Comments

@goswinr
Copy link
Contributor

goswinr commented Jun 19, 2024

A static member turns into an instance member when defined in an interface:
see REPL
image

Maybe related, there are a few fixes coming in F# 8.0.400 regarding static abstract https://github.com/dotnet/fsharp/blob/main/docs/release-notes/.FSharp.Compiler.Service/8.0.400.md

@ncave
Copy link
Collaborator

ncave commented Jun 19, 2024

@goswinr Static interface members (without implementation) are not supported (yet).
But static interface members with default implementation are already supported.

See #3829 for more details.

@ncave
Copy link
Collaborator

ncave commented Jun 19, 2024

Closed as duplicate of #3829

@ncave ncave closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants