dotnet / dotnet/fsharp

Tracking Issue for C# 11.0 Interop for F# 6.1/7.0

Open
#13,007 23 comments 8 reactions 0 assignees View on GitHub
Feature Request Plan
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

Okay we need an issue to track F# language updates for the next release.

The target is to release by Fall 2022 --- so it's going to be a small set of features, this is not an ordered or prioritized list

Feel free to discuss and add suggestions here in this thread.

1. Support for consuming Interface Static Methods - [C# 10.0 feature](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/static-abstract-interface-methods)
2. Required property/field: [C# 11.0 feature](https://github.com/dotnet/csharplang/blob/main/proposals/required-members.md?rgh-link-date=2021-10-08T22%3A59%3A37Z)
3. Ref fields [C# 11.0 feature](https://github.com/dotnet/csharplang/blob/main/proposals/low-level-struct-improvements.md)
4. User defined check operator [C# 11.0 feature] (https://github.com/dotnet/csharplang/blob/main/proposals/checked-user-defined-operators.md?rgh-link-date=2022-02-10T19%3A05%3A24Z)
5. Relaxing shift operator signature requirements - [C# 11.0 feature](https://github.com/dotnet/csharplang/blob/main/proposals/relaxing_shift_operator_requirements.md)
6. Unsigned right shift operator (`>>>`). [C# 11.0 feature](https://github.com/dotnet/roslyn/blob/main/docs/Language%20Feature%20Status.md)
7. https://github.com/dotnet/fsharp/issues/8654
8. Support [`CompilerFeatureRequiredAttribute`](https://github.com/dotnet/runtime/issues/66167), [more info](https://github.com/dotnet/fsharp/issues/13007#issuecomment-1142734685).

Background: we believe we need to do a good job supporting this style:
https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/static-abstract-interface-methods

/cc @dsyme , @KathleenDollard , @jonsequitur , @vzarytovskii , @baronfel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.