[Mono-dev] ref and out for param in override methode
olivier dufour
olivier.duff at gmail.com
Sun Jul 1 18:18:32 EDT 2007
Hi all,
1) I have a strange bug in my javascript compiler. When I run unit test on
Optionsparser of javascript compiler of moonlight, I see a strange
behaviour:
The base methode is GetHelp (out usage, out optionsParsertext, out
environlentVariables, out comments). But in the derived class of MS
JavaScript compiler I have options.GetHelp (ref usage, ref
optionsParsertext, ref environlentVariables, ref comments);
But if I override it in my code compiler only want ref to overide "ref
param" and not "out param" whereas MS dll done it. How it can be possible
and how do it?
2) Miguel talked about regular unit test for javascript compiler. Is it
Mozilla javascript test? For moment I have only my own test to test all
statement and some basic expression.
3) I am near end of JScript compiler and I have a lot of little issue to
make unit test on some nested methode of my class (private override and
sealed class). If someone know a solution to do unit test of this kind of
properties/methodes...
Thanks for help,
Olivier Dufour,
bye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070702/f20919b2/attachment.html
More information about the Mono-devel-list
mailing list