[nem-en] Macros and extension methods
Kamil Skalski
kamil.skalski at gmail.com
Fri Jun 9 19:16:38 CEST 2006
The problem is that typer searches for ALL extension methods available
on ANY types. It puts them into the list of available overloads. It
probably filters them later, during overload resolution, but I didn't
tracked where it happens yet (a hint from Michal woud be useful).
So when I enabled this feature, all the completion results had the
matching extension methods from NString, NArray, etc. Of course it
doesn't work correctly even now - if you try something like
'def x = [1,2,3]; x.Map' it will probably return the NArray.Map and
NString.Map in completions list.
I will try to track this down later and maybe there is some solution for this.
2006/6/9, vc <vc at rsdn.ru>:
> Hi,
>
> 2: Kamil Skalski:
>
> In SVN you say:
> > Unfortunately extension methods are not filtered, so disable it for
> > now in completion engine
>
> Explain, please, what a problem?
> And it will work in the future?
>
> Vlad
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list