[nem-en] macro to define a new kind of member
Kamil Dworakowski
kamil.dworakowski at googlemail.com
Sun Feb 25 10:28:53 CET 2007
Kamil Skalski wrote:
>
> Yes, I think that with original code you would only need to add the
> condition:
> - if class level extension was parsed and we are at the end of loose
> group, then take parsed modifiers and create the dummy method.
>
I do exactly this, but since the macro would be attached to the this
dummy method instead of the enclosing class it has a method as a target.
I tried to add WithinClass target, but got some strange error from
compiler. During stage1 compilation of Nemerle.Macros.dll: invalid value
on MacroTargets position: Nemerle.MacroTargets.Assembly.
Kamil Dworakowski
More information about the devel-en
mailing list