Skip to content

error FS0192 : internal error : Length of Nullable metadata and needs of its processing do not match: { Data = [|0uy; 1uy|] Idx = 2 } #17701

@Evangelink

Description

@Evangelink

When working on YoloDev/YoloDev.Expecto.TestSdk#152 I suddenly started to get many nullability related failures.

I am hitting this TODO

// TODO nullness - once being confident that our bugs are solved and what remains are incoming metadata bugs, remove failwith and replace with dprintfn
// Testing with .NET compilers other then Roslyn producing nullness metadata?
failwithf "Length of Nullable metadata and needs of its processing do not match: %A" this

Repro steps

Provide the steps required to reproduce the problem:

  1. Clone Add support for Microsoft.Testing.Platform YoloDev/YoloDev.Expecto.TestSdk#152
  2. dotnet build

Expected behavior

No error

Actual behavior

error FS0192 : internal error : Length of Nullable metadata and needs of its processing do not match: { Data = [|0uy; 1uy|] Idx = 2 }

Known workarounds

Disable nullability

Related information

SDKS:
3.1.426 [C:\Program Files\dotnet\sdk]
6.0.425 [C:\Program Files\dotnet\sdk]
7.0.410 [C:\Program Files\dotnet\sdk]
8.0.100 [C:\Program Files\dotnet\sdk]
8.0.304 [C:\Program Files\dotnet\sdk]
9.0.100-preview.7.24407.12 [C:\Program Files\dotnet\sdk]
9.0.100-rc.1.24452.12 [C:\Program Files\dotnet\sdk]

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions