FS0073: internal error: ImportILTypeRef: unexpected local scope using System.Collections.Immutable #16321
Labels
Area-Compiler-ImportAndInterop
import of .NET DLLs and interop
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Regression
Milestone
Calling
ImmutableQueue.Dequeue
orIImmutableStack.Pop
causes internal compiler errorsRepro steps
Expected behavior
Compilation succeeds
Actual behavior
Known workarounds
As per @vzarytovskii 's comment below, Adding
<LangVersion>7.0</LangVersion>
to aPropertyGroup
in the fsproj allows the compilation to succeed.Related information
The text was updated successfully, but these errors were encountered: