Proposal: attributes on type parameters #2716
Unanswered
hez2010
asked this question in
Language Ideas
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
@Joe4evr thanks! However [MaybeNull] could not be used on GenericParameter |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, I see what you're doing now. You can only apply attributes on generic parameters at the place where the type is declared, meaning you'd have to own it. But even that won't help for a nested generic argument like this. This is quite a conundrum. Pinging @jcouv for insight. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Attributes on type parameters
Proposal
Allow attributes on type parameters.
Usage
note:
It's not
Beta Was this translation helpful? Give feedback.
All reactions