[nem-en] Re: [nem-feedback] Cron <nemweb@lilith> ~/makesnap
Dmitry Ivankov
divanorama at gmail.com
Sat Oct 20 06:37:09 CEST 2007
Btw we have some more bugs here: in fact there are all 4 overloads in list,
but old list.Lastproperty has null in its
GetPropertyInfo().PropertyType.FullName. (1)
DescribeMember throws NRE and we don't see all overloads. (2)
If I fix NRE then 4th overload is shown as:
error: overload #4, property: Last : NULL { get; }
hint: attempting to call a property, please use assignment to set it
error: the value called (returned.Last) has non-functional type (bool * bool
* string * System.Object * Nemerle.Compiler.Parsetree.PExpr)
So overloads do not work with properties. (3)
I'll add all bugs to mantis :))
Does anyone know why 1 happens and which code is responsible for it?
On 10/20/07, Владислав Чистяков <vc at rsdn.ru> wrote:
>
> Hi,
>
> > Is it a sign of broken API in recent Vlad's refactorings and additions
> > of StringTemplate?
>
> I add extension methods with name "Last".
> The compiler will not use extension methods if exist member with same
> name.
> In my option it's a compiler bug.
>
> Vlad
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20071020/de93ba25/attachment.html
More information about the devel-en
mailing list