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
{{ message }}
Repository navigation
AttributeUsage doesn't distinguish AttributeTargets.Class and AttributeTargets.Struct #13526
changed the title [-]`AttributeUsage` doesn't distinguish `AttributeTargets.Class` and `AttributeTargets.Constructor`[/-][+]`AttributeUsage` doesn't distinguish `AttributeTargets.Class` and `AttributeTargets.Struct`[/+]on Sep 22, 2022
Activity
dsyme commentedon Sep 21, 2022
@auduchinok Could you check the title of this bug please? It says
.Constructorbut doesn't mention that in the description?Seems there are three problems:
This seem ok:
Example this works but shouldn't:
auduchinok commentedon Sep 22, 2022
@dsyme Yes, I think it was about structs.
[-]`AttributeUsage` doesn't distinguish `AttributeTargets.Class` and `AttributeTargets.Constructor`[/-][+]`AttributeUsage` doesn't distinguish `AttributeTargets.Class` and `AttributeTargets.Struct`[/+]