> We (I added this recently) currently also allow an implicit conversion of
> null to a (empty) string, which is useful for functions that return
> reference types (eg. framework::get-runtime-engine()).  Should we keep
this,
> or do you want to add a "is-null()" function (in what namespace) and a
> conversion function from null to (empty) string ?

the idea is ok, but should add more checks for null. Like here:

switch (op) {
    case ExpressionTokenizer.TokenType.EQ:
        return o.Equals(o2);

    case ExpressionTokenizer.TokenType.NE:
        return !o.Equals(o2);
...
}

> That reminds me : we need to document the return type of functions too in
> the generated docs ...

yes. the function docs are lagging a bit.

Is there anybody on the list who can take a task of improving the docs?
Basically we need to add more C# documentation-style comments to functions
in NAnt.Core/Functions/*.cs.

Jarek



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to