Skip to content

Refactor to use immutable LanguageVersion with reflection-based featu…

cc29923
Select commit
Loading
Failed to load commit list.
Draft

Add --disableLanguageFeature CLI switch and MSBuild property to selectively disable language features #19167

Refactor to use immutable LanguageVersion with reflection-based featu…
cc29923
Select commit
Loading
Failed to load commit list.
Azure Pipelines / fsharp-ci (Build Source-Build (Managed)) failed Dec 16, 2025 in 8m 6s

Build Source-Build (Managed) failed

Annotations

Check failure on line 443 in src/Compiler/Facilities/LanguageFeatures.fs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci (Build Source-Build (Managed))

src/Compiler/Facilities/LanguageFeatures.fs#L443

src/Compiler/Facilities/LanguageFeatures.fs(443,36): error FS3264: (NETCORE_ENGINEERING_TELEMETRY=Build) Nullness warning: Downcasting from 'objnull' into 'LanguageFeature' can introduce unexpected null values. Cast to 'LanguageFeature|null' instead or handle the null before downcasting.