[nem-pl] Re: [svn] nemerle/trunk/ncc/testsuite/form.n

Michal Moskal malekith at pld-linux.org
Thu Jun 17 17:13:14 CEST 2004


On Thu, Jun 17, 2004 at 04:29:05PM +0200, Kamil Skalski wrote:
> Thursday 17 June 2004 00:55, malekith wrote:
> > Author: malekith
> > Date: Thu Jun 17 00:55:23 2004
> > New Revision: 2670
> >
> > Modified:
> >    nemerle/trunk/ncc/testsuite/form.n
> > Log:
> > Fix access modifier on Dispose method.
> >
> > Modified: nemerle/trunk/ncc/testsuite/form.n
> > ===========================================================================
> >=== --- nemerle/trunk/ncc/testsuite/form.n	(original)
> > +++ nemerle/trunk/ncc/testsuite/form.n	Thu Jun 17 00:55:23 2004
> > @@ -38,7 +38,7 @@
> >  		/// <summary>
> >  		/// Clean up any resources being used.
> >  		/// </summary>
> > -		protected override Dispose( disposing : bool ) : void
> > +		public override Dispose( disposing : bool ) : void
> 
> Hmm, ja to konwertowałem z C# wygenerowanego przez Visual Studio i nie 
> przypominam sobie, żebym jakieś modyfikatory zmieniał. Jeśli Nemerle się 
> wywala tutaj na protected, to prawdopodobnie jest to bug.

Pfff...


...NetMethod...

      public Attributes : NemerleAttributes
      {
        get {
          // FIXME
          def attrs =
            if (handle.IsStatic) NemerleAttributes.Public %| NemerleAttributes.Static
            else NemerleAttributes.Public;
          def attrs =
            if (handle.IsVirtual) NemerleAttributes.Virtual %| attrs
            else attrs;
          attrs
        }
      }

O protected ani śladu... naprawiam.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?




More information about the devel-pl mailing list