Skip to content

Fix false positive byref errors by adding proper context guards

9150cff
Select commit
Loading
Failed to load commit list.
Draft

Fix object expressions in struct types generating invalid IL with byref fields #19070

Fix false positive byref errors by adding proper context guards
9150cff
Select commit
Loading
Failed to load commit list.
Azure Pipelines / fsharp-ci (Build MacOS) failed Jan 5, 2026 in 4m 43s

Build MacOS failed

Annotations

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci (Build MacOS)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: /Users/runner/work/1/s/artifacts/TestResults/Release

Check failure on line 0 in src/FSharp.Build/FSharp.Build.fsproj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci (Build MacOS)

src/FSharp.Build/FSharp.Build.fsproj#L0

src/FSharp.Build/FSharp.Build.fsproj(0,0): error NU1503: (NETCORE_ENGINEERING_TELEMETRY=Restore) Skipping restore for project '/Users/runner/work/1/s/src/FSharp.Build/FSharp.Build.fsproj'. The project file may be invalid or missing targets required for restore.

Check failure on line 0 in tests/service/data/TestTP/TestTP.fsproj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci (Build MacOS)

tests/service/data/TestTP/TestTP.fsproj#L0

tests/service/data/TestTP/TestTP.fsproj(0,0): error NU1503: (NETCORE_ENGINEERING_TELEMETRY=Restore) Skipping restore for project '/Users/runner/work/1/s/tests/service/data/TestTP/TestTP.fsproj'. The project file may be invalid or missing targets required for restore.

Check failure on line 0 in tests/benchmarks/FCSBenchmarks/BenchmarkComparison/HistoricalBenchmark.fsproj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci (Build MacOS)

tests/benchmarks/FCSBenchmarks/BenchmarkComparison/HistoricalBenchmark.fsproj#L0

tests/benchmarks/FCSBenchmarks/BenchmarkComparison/HistoricalBenchmark.fsproj(0,0): error NU1503: (NETCORE_ENGINEERING_TELEMETRY=Restore) Skipping restore for project '/Users/runner/work/1/s/tests/benchmarks/FCSBenchmarks/BenchmarkComparison/HistoricalBenchmark.fsproj'. The project file may be invalid or missing targets required for restore.

Check failure on line 0 in tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/FSharp.Compiler.Benchmarks.fsproj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci (Build MacOS)

tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/FSharp.Compiler.Benchmarks.fsproj#L0

tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/FSharp.Compiler.Benchmarks.fsproj(0,0): error NU1503: (NETCORE_ENGINEERING_TELEMETRY=Restore) Skipping restore for project '/Users/runner/work/1/s/tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks/FSharp.Compiler.Benchmarks.fsproj'. The project file may be invalid or missing targets required for restore.