-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluating a record with recursive reference results in termination of the program with Stack Overflow #48646
Comments
Tagging @jcouv |
That was discussed in LDM and is by-design. The |
What was the reasoning for this design decision? Is the scenario deemed unlikely? Have you considered that the VS debugger evaluates Limiting the stack depth of If it is not possible to do so we could special case records in EE and not call |
Here's the full LDM meeting notes from when this was discussed. |
Assigning to myself to proceed with a WG to come up with a proposal here. |
TAgging @cston @333fred @RikkiGibson @jcouv who all showed interest in this topic. |
Resolving this issue as the scenario described is now fixed. We now throw |
Version Used:
Version 16.9.0 Preview 1.0 [30614.203.main]
Steps to Reproduce:
Place breakpoint as indicated, F5 and open Locals Window, then step (F10).
Actual Behavior:
Expected Behavior:
SO is prevented.
Perhaps the implementation should only go to certain depth and then bail.
The text was updated successfully, but these errors were encountered: