Repro steps
# dotnet fsi
Microsoft (R) F# Interactive version 12.0.5.0 for F# 7.0
Copyright (c) Microsoft Corporation. All Rights Reserved.
For help type #help;;
> type T = U of unit;;
type T = | U of unit
> let x = U ();;
val x: T = U ()
> match x with
- | U v -> v;;
match x with
^
stdin(3,1): warning FS2303: Accessing the internal type, method or field 'item' from a previous evaluation in F# Interactive is deprecated and may cause subsequent access errors. To enable the legacy generation of a single dynamic assembly that can access internals, use the '--multiemit-' option.
val it: unit = ()
>
Expected behavior
No warning
Related information
Provide any related information (optional):
- Operating system: Windows 11
- .NET Runtime kind: dotnet core 7.0.100-rc.2.22477.23
Repro steps
Expected behavior
No warning
Related information
Provide any related information (optional):