Skip to content

Refactor to use immutable LanguageVersion with reflection-based featu…

cc29923
Select commit
Loading
Failed to load commit list.
Merged

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 failed Dec 16, 2025 in 21m 32s

Build #20251216.19 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

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.

Check failure on line 24 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L24

Bash exited with code '1'.

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

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.

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

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.