www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - dmd v0.97 assert

Cutting this down makes the bug disappear.
Simply unzip, cd lib, and type 'go', you get:
   Assertion failure: 'cd' on line 1204 in file 'expression.c'
   abnormal program termination

The bug has something to do with the template readLineT in the stream 
class in stream.d, comment that out and the calls to readLine in the 
file.d unittest and all is well.


Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Aug 02 2004