[nem-en] Bug 928
Michal Moskal
michal.moskal at gmail.com
Thu Feb 22 10:27:55 CET 2007
On 2/22/07, vc <vc at rsdn.ru> wrote:
> http://nemerle.org/bugs/view.php?id=928
>
> This bug caused by some compiler optimization which convert tuple parameter
> to ordinary parameters.
This is not really an optimization. If you would disable this and call
such a method you would get invalid IL (I don't know if this is a
problem in VS).
> In VS Integration we use delayed compilation of body. Unfortunately
> parameters of method was converted in namespace build stage.
But I don't really understand why this happens. Do you cache the
method bodies somewhere yourself? The code that does it is in
hierarchy/ClassMembers.n:946. It's a simple parse tree transformation,
and it modifies method body to accomodate for the signature change.
--
Michał
More information about the devel-en
mailing list