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?

4 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Unfortunately, this is a ugly bug and it will be fixed only in 9.0 :(:(
Issue: http://youtrack.jetbrains.com/issue/RSRP-413651

0
Comment actions Permalink

This appears to be a bug. I've added a YouTrack issue - http://youtrack.jetbrains.com/issue/RSRP-413653

0
Comment actions Permalink

Doh! Missed this update. I'll close the issue I just raised.

0

Please sign in to leave a comment.