Skip to content
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

Recursive opt Depth Issues #2380

Open
bdemann opened this issue Dec 20, 2024 · 0 comments
Open

Recursive opt Depth Issues #2380

bdemann opened this issue Dec 20, 2024 · 0 comments

Comments

@bdemann
Copy link
Member

bdemann commented Dec 20, 2024

Summary:
We’ve encountered recurring problems with the depth of recursive opt types. When the depth is too large, it results in type errors because the type becomes too deep to handle effectively.


Current Situation:

  • The default depth for opt was initially set to 5 but has already been reduced to 4 to mitigate these issues.
  • While this adjustment has helped, it’s not a comprehensive solution.

Challenges:

  • Reducing the depth further (e.g., to 3) might not be a viable long-term solution as it could limit functionality.
  • The issue occurs infrequently, so it’s not an urgent priority at the moment, but it still points to a need for a more robust approach.

Next Steps:

  • Investigate alternative strategies to handle recursive opt types without reducing depth further.
  • Prioritize research into solutions as the frequency or impact of these errors increases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@bdemann and others