[MonoDevelop] PATCH: Generics support

Matej Urbas matej.urbas at gmail.com
Fri Jun 16 07:06:40 EDT 2006


Alejandro Serrano wrote:
> I find it OK. I'm really looking forward to the moment you commit to 
> continue work on other areas for generics support.
Yeah, I'm progressing a little slowly here. But otherwise, I think I 
have gained enough insight into everything that is related to code 
completion (I have focused on code completion data providers, resolvers, 
ambience and the completion list window). I have already found a lot of 
problematic areas which I will focus on. Surely, it will take some time 
before my work will show any visible results.

Although it will take quite a while, I have decided to make a plan of 
how to modify current architecture to give more freedom to language 
implementors. Currently, every code completion decision is pretty much 
hard coded into the GUI. Not much room is left for language binding 
implementors to add their language specific code assistance behaviour. 
I'll see what can be done about that.
> Just a little point, I think the SpecialConstraintType enum should be:
>
>    public enum SpecialConstraintType : byte
>    {
>        Class = 0x01,
>        Struct = 0x02,
>        New = 0x04,
>        Covariant = 0x08,
>        Contravariant = 0x16
>    }
Have added them to the current set of patches.

I didn't know about them :) It's very nice that you noticed it ;) That's 
the magic of open discussions, isn't it?

Enjoy
---
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MonoDevelop.Projects.Parser-generic_support.patch
Type: text/x-patch
Size: 10916 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060616/5679edf1/MonoDevelop.Projects.Parser-generic_support.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GenericParameter.cs
Type: text/x-csharp
Size: 4598 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060616/5679edf1/GenericParameter.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GenericParameterList.cs
Type: text/x-csharp
Size: 531 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060616/5679edf1/GenericParameterList.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReturnTypeList.cs
Type: text/x-csharp
Size: 486 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060616/5679edf1/ReturnTypeList.bin


More information about the Monodevelop-list mailing list