Skip to content

Structs with one field have different type semantics to newtype-declared UDTs #2153

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

Open
sezna opened this issue Feb 4, 2025 · 1 comment
Labels
bug Something isn't working needs triage

Comments

@sezna sezna added bug Something isn't working needs triage labels Feb 4, 2025
github-merge-queue bot pushed a commit that referenced this issue Feb 4, 2025
Closes #2146


I also found another unrelated bug while working on this, which I filed
here: #2153
@sezna
Copy link
Contributor Author

sezna commented Feb 4, 2025

The solution here might be to disallow using old UDT syntax with new struct syntax, if this is an intentional structural differentiation. Investing more into the old UDT experience (newtype) is likely not worth it at this point, given that its on its way out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant