[nem-en] implementation of Message.FatalError
Dmitry Ivankov
divanorama at gmail.com
Sun Jun 17 18:56:29 CEST 2007
Forgot to mention that i'm going to add check for void generic specifier on
static methods (for nonstatic i've already did)
Problems are with Message.FatalError, and MethodBuilder.ThrowNotSupported
Second is used rarely, so easy there are two easy fixes:
1) replace call to it with _ = call () : object
2) convert it to GetNotSupported, and replace calls with throw call ()
(better, as can be used anywhere needed)
But FatalError is used often, so it won't be too good to fix all calls.
And replacing it with throw is even worse, but possible of course.
So I think we need a new boot with builtin
namespace Message
{
macro FatalError
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070617/276eecfb/attachment.html
More information about the devel-en
mailing list