|
Re: External method that use System.Query's ExtensionAttribute: msg#00013lang.nemerle.devel
+ + when (SystemType.SQ_ExtensionAttribute != null) { + def t = SystemType.SQ_ExtensionAttribute; + when (system_type.IsDefined (t, false)) { + foreach (m is IMethod in GetMembers ()) + when (m.IsStatic && m.GetHandle ().IsDefined (t, false)) + LibraryReferenceManager.AddExtensionMethod (m); + } + } AFAIR my patch avoided this code duplication. Is it not possible to do now? P.S.: One more question, I've been doing some tests, and it seems that Michał's today refactoring was exactly made to fix this. But I'm not sure if it is already finished. -- Kamil Skalski http://nazgul.omega.pl
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | External method that use System.Query's ExtensionAttribute, Alejandro Serrano |
|---|---|
| Next by Date: | Re: type inference cannot guess., Michal Moskal |
| Previous by Thread: | External method that use System.Query's ExtensionAttribute, Alejandro Serrano |
| Next by Thread: | Re: External method that use System.Query's ExtensionAttribute, Michal Moskal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |