[nem-en] Re: What is additional_decls?

Kamil Skalski kamil.skalski at gmail.com
Sat Nov 18 17:09:04 CET 2006


Funny, if I insert the 'partial class Proj { }' after the declaration
with members it gives error, but if I place it before it is ok.

Oh, now I reproduced this error with standard compiler:

using Nemerle.Utility;

partial class Proj { }

[Record]
partial class Proj {
  [Accessor] a : int;
  [Accessor] b : string;
}

def x = Proj (1, "");

Gives the same error as in completion mode. I will dig it now in the
compiler itself.

The interesting conclusion so far is that Integration processes types
in different order than compiler. And I think it is the compiler,
which does it in reverse...

On 11/18/06, vc <vc at rsdn.ru> wrote:
> > The problem in "partial"?
>
> But why under ncc it compile fine?
>
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list