[nem-en] Problem with NemerleCodeGenerator

Michal Moskal michal.moskal at gmail.com
Fri Dec 1 09:27:04 CET 2006


On 12/1/06, Andrey Khropov <andrey.khropov at gmail.com> wrote:
> So I propose to redefine Output in NemerleCodeGenerator as protected assignable
> property (so I could change it when it is needed in my derived class) and to
> add code in ICodeGenerator.GenerateCodeFromXXX functions to assign to it like:
>
> protected ICodeGenerator.GenerateCodeFromNamespace(e : CodeNamespace,w :
> TextWriter, o: CodeGeneratorOptions) : void
> {
>         Output = w;
>         base.GenerateCodeFromNamespace(e,w,o);
> }
>
> Is it okay if I do that?

If it doesn't break binary compatibility (and it doesn't seem to),
please go ahead!


-- 
   Michał


More information about the devel-en mailing list