SO in non-recursive bindings checks #17415
Labels
Area-Compiler-Checking
Type checking, attributes and all aspects of logic checking
Bug
Impact-High
(Internal MS Team use only) Describes an issue with extreme impact on existing code.
Milestone
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 #16869Issue is in calling between
TcModuleOrNamespaceElementNonMutRec
andTcModuleOrNamespaceElements
, 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.The text was updated successfully, but these errors were encountered: