-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
typedesc as array members are still allowed #12398
Comments
Shows a proper error on latest devel:
Do we have a test case for that? |
|
closed by #14795 |
Is there a way to have some sort of list of |
You can do type introspection via Nim's macro system. |
|
I was looking for something to use a list of types in a loop, eg.:
|
In this specific example, you could probably use a |
Example
Error
Example
Output
Expected output
Neither should compile (?)
The text was updated successfully, but these errors were encountered: