[nem-en] Finding an interface method implementation.

Kamil Skalski nazgul at nemerle.org
Mon Sep 27 15:20:44 CEST 2004


Dnia poniedziałek, 27 września 2004 14:56, Michal Moskal napisał:
>
> Something like:
>
>   Tycon.MethodImplementing (meth : IMethod) : option <IMethod>
>
> ?

It would be better to have just ImplementedMethods : list <IMethod> {  get; } 
in IMethod
S.R. doesn't seems to have similar methods, but I think it would be nice.

 
BTW. We should improve error message for
class B : I {
  f () : void implements I.boo { }
  g () : void implements I.boo { }
}

t.n:5:8: error: interface `I' does not contain method named `boo' with proper 
signature

-- 
Kamil Skalski
http://nemerle.org developer




More information about the devel-en mailing list