You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder what's the best way to avoid this case in the recursive setting. I think @jneem mentioned somewhere that it's not as simple as black-holing or marking fields to not re-evaluate them many times (otherwise we would do that instead of having a max evaluation depth, and also because I guess one field might end up having different copies in different merge expressions, and thus with a different environment).
Maybe just compute a cheap hash of diagnostics and de-duplicate them is the easiest way forward.
Sort + deduplication is probably the way to go. We do this for some responses, just because it makes the output deterministic and therefore easy to test. But apparently we aren't (yet) doing it for diagnostics.
Describe the bug
NLS reports same diagnostic message multiple times when the recursive definitions is present. Related to #1875.
2024-04-05.08-43-24.mp4
To Reproduce
Expected behavior
The diagnostic message will be reported only once per case.
Environment
The text was updated successfully, but these errors were encountered: