Getting attribute instances from TypeParameter
I noticed that JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.TypeElement.TypeParameter returns empty list from GetAttributeInstances.
I would expect this to return attributes applied to type parameter, e.g. A in `class X<[A] T>`.
Is this by design or a bug?
Please sign in to leave a comment.
Well, gosh, I didn't know you could add attributes to type parameters :)
I'll look into it, and let you know what's going on.
Unfortunately, this is a ugly bug and it will be fixed only in 9.0 :(:(
Issue: http://youtrack.jetbrains.com/issue/RSRP-413651
This appears to be a bug. I've added a YouTrack issue - http://youtrack.jetbrains.com/issue/RSRP-413653
Doh! Missed this update. I'll close the issue I just raised.