Skip to content

SO in non-recursive bindings checks #17415

@vzarytovskii

Description

@vzarytovskii

Consider having file with module and a bunch of nested modules and bindings in all of them, it will fail with SO. Declaring module as rec will fix it. It is some corner case of #16869

image

Issue is in calling between TcModuleOrNamespaceElementNonMutRec and TcModuleOrNamespaceElements, calls are not tail recursive (due to using builder). It will also likely only occur in full CLR, coreclr's JIT is much better at dealing with tail prefixes.

Metadata

Metadata

Assignees

Labels

Area-Compiler-CheckingType checking, attributes and all aspects of logic checkingBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.

Type

No type

Projects

Status

New

Relationships

None yet

Development

No branches or pull requests

Issue actions