Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Remove always-on language feature flag: AdditionalTypeDirectedConversions

オープン
#20,165 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

@T-Gro がすでに取り組んでいます。

2026年8月4日 から。

  • #20680 @T-Gro による — オープン

評価

この issue はまだ評価されていません。

説明

LanguageFeature.AdditionalTypeDirectedConversions has shipped since F# 6.0 and is enabled for every selectable language version (the minimum accepted --langversion is 8.0). Its feature flag can therefore never be turned off, so it is dead configuration. This issue removes the flag and collapses the guarded code to its enabled behaviour.

What to remove

  • The AdditionalTypeDirectedConversions case in LanguageFeatures.fs and LanguageFeatures.fsi
  • Its entry in the features map and its GetFeatureString arm
  • The featureAdditionalImplicitConversions string in FSComp.txt
  • Every SupportsFeature LanguageFeature.AdditionalTypeDirectedConversions / checkLanguageFeatureAndRecover … AdditionalTypeDirectedConversions guard — keep only the enabled path and delete the legacy branch
  • Adjust affected tests and baselines accordingly

Consequence: --disableLanguageFeature:AdditionalTypeDirectedConversions is no longer a recognised feature name.

Version mapping
https://github.com/dotnet/fsharp/blob/ea778bb414648883fca4219bf7a69286bf82dd6b/src/Compiler/Facilities/LanguageFeatures.fs#L174

Feature string
https://github.com/dotnet/fsharp/blob/ea778bb414648883fca4219bf7a69286bf82dd6b/src/Compiler/FSComp.txt#L1584

Part of #20139

主要言語
F#
スター
4.3k
フォーク
879
平均マージ
5日 8時間
マージ済み PR(30日)
107

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/fsharp のほかの issue

dotnet/fsharp の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。