[nem-en] External method that use System.Query's ExtensionAttribute

Alejandro Serrano trupill at yahoo.es
Sat May 13 16:21:42 CEST 2006


In the forums, I posted about the Nemerle compiler being able to use 
System.Query's ExtensionAttribute apart from the one from Nemerle libs. 
The patch that was made was OK (although it sometime produced subtle 
errors in the compiler).
But this morning I've seen the code from extension methods have been 
refactored, and I've made some work using S.Q's attribute (mostly taken 
from your previous patch). I attach that patch, please tell me if it is 
OK to commit or not.

Trupill

P.S.: One more question, I've been doing some tests, and it seems that 
if I define a extension method for IEnumerable['a] it does not work for 
IEnumerable[string] :-(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sq_ext2.diff
Type: text/x-patch
Size: 1659 bytes
Desc: not available
Url : /mailman/pipermail/devel-en/attachments/20060513/b3dc0f5e/sq_ext2.bin


More information about the devel-en mailing list