RTest, a random testing framework
Fawzi Mohamed
fmohamed at mac.com
Wed Jul 23 10:39:47 PDT 2008
On 2008-07-23 18:48:50 +0200, BCS <ao at pathlink.com> said:
> Reply to Fawzi,
>
>> On 2008-07-23 00:54:49 +0200, BCS <ao at pathlink.com> said:
>>
>>> Also the parse errors get better messages.
>>>
>> well I spent some effort in making that better, if there is a syntax
>> error it caches it and writes your a message saying there is and
>> error,
>> your arguments and the core part of the generated mixin.
>> Not perfect, but much better than the default behavior.
>
> the better thing about non string mixin code is that the error happens
> at the point of the error, there is no way to tell where the string is
> defined and generate an error there.
well I could get rid of the mixin for the manual init and force people
to use typedefs, mmhh, first I will try to use it a little, than I will
re-evaluate the decision.
For the exclusion of bad cases I think that the mixin is still the best
solution, well actually an expression mixin would be better, but in
D1.0...
More information about the Digitalmars-d
mailing list