Skip to content

Commit a9e3ec7

Browse files
T-Grogithub-actions
authored andcommitted
what is wrong with System.Collections.Immutable.ImmutableArray.Create
1 parent ccaf439 commit a9e3ec7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/fsharp/Compiler/Language/OptionalInteropTests.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module OptionalInteropTests =
1414
open System.Reflection
1515

1616
let showImmutableVersion () =
17+
let x = System.Collections.Immutable.ImmutableArray.Create<int>(System.ReadOnlySpan.op_Implicit([|1;2;3|]))
18+
printfn "Created ImmutableArray with length: %d ;; %A" x.Length x
1719
let asm = typeof<System.Collections.Immutable.ImmutableArray>.Assembly
1820
printfn "Loaded System.Collections.Immutable version: %s" (asm.GetName().Version.ToString())
1921

0 commit comments

Comments
 (0)