Following the recent bug report, here's my summary of the minor changes I've made to the current C# source:
error messages instead of Null Reference exceptions when no target object is supplied for .methods and .Type:Methods;
hard coding "nil" as the "ToString" of the first of a Cons when it is null, again avoiding a Null Reference exception;
explicitly using unchecked arithmatic in Cons.GetHashCode;
adjusted Reader.doRead so that it works with a checked build (issues with (Char)-1);
fixed Reader.eatComment -- the code to eat the \n in \r\n is not right; and
check for EOF in Reader.readDelimitedList (checked build issue).
As you can see, most of these changes are due to me compiling with integer arithmatic checks on.
Soon I'll post my single method interface code, with a sample project that should show the usefulness of the DotLisp/.NET environment.
The patches described here are now available in the DotLisp Patches:
http://sourceforge.net/tracker/index.php?func=detail&aid=1161651&group_id=85018&atid=574648
http://sourceforge.net/tracker/index.php?func=detail&aid=1161627&group_id=85018&atid=574648
Log in to post a comment.
Following the recent bug report, here's my summary of the minor changes I've made to the current C# source:
error messages instead of Null Reference exceptions when no target object is supplied for .methods and .Type:Methods;
hard coding "nil" as the "ToString" of the first of a Cons when it is null, again avoiding a Null Reference exception;
explicitly using unchecked arithmatic in Cons.GetHashCode;
adjusted Reader.doRead so that it works with a checked build (issues with (Char)-1);
fixed Reader.eatComment -- the code to eat the \n in \r\n is not right; and
check for EOF in Reader.readDelimitedList (checked build issue).
As you can see, most of these changes are due to me compiling with integer arithmatic checks on.
Soon I'll post my single method interface code, with a sample project that should show the usefulness of the DotLisp/.NET environment.
The patches described here are now available in the DotLisp Patches:
http://sourceforge.net/tracker/index.php?func=detail&aid=1161651&group_id=85018&atid=574648
http://sourceforge.net/tracker/index.php?func=detail&aid=1161627&group_id=85018&atid=574648