|
[
Permalink
| « Hide
]
Avishay Lavie added a comment - 08/Feb/07 05:11 PM
We need some different syntax to reference generic type definitions. C# has IEnumerable<> and IDictionary<,>, which is kinda ugly but distinguishes them from the non-generic IEnumerable and IDictionary. We need something similar so that a name without generic arguments will never be interpreted as a generic definition.
This is becoming more and more bug-prone. I'd like to take over this issue. Is it OK with you, bamboo?
Resolved in 2447.
References containing generic parameters only match generic types, and references that don't only match non-generic types. To reference a generic type definition, the "Type of *" or "Type[of *, *]" syntax can be used. |
|||||||||||||||||||||||||||||||||||||||||||||||