D1: std.md5: corrections for the given example

notna notna.remove.this at ist-einmalig.de
Fri Sep 18 13:25:47 PDT 2009


grauzone schrieb:

>>> md5_example_2.d(7): expression expected, not 'auto'
>>> md5_example_2.d(7): found 'len' when expecting ')'
>>> md5_example_2.d(7): found '=' instead of statement
>>>
>>> (this is line 7 after I removed comments and blank lines from your edit)
>>>
>>> Stewart.
>>
>> God I'm stupid.
>>
>> Sorry.
>>
>> I guess I wish that worked.
> 
> http://d.puremagic.com/issues/enter_bug.cgi

???

What do you wanna tell us? That
   while (auto len = file.readBlock(buffer.ptr, buffer.sizeof))
has to work and does not because it's a bug? And that's why you think a 
bug report should be opened?


More information about the Digitalmars-d-learn mailing list