March 29, 2005 DMD 0.119 compiler crash | ||||
---|---|---|---|---|
| ||||
Trying to compile the following program causes the DMD 0.119 compiler to crash (no error message) when using the -unittest switch. Works with "-debug -unittest" but fails with only "-unittest". <code> import std.stream; unittest { try { throw new Exception(""); } catch { debug stderr.writeLine("Exception thrown"); } } </code> |
March 31, 2005 Re: DMD 0.119 compiler crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to Niko Korhonen | Niko Korhonen wrote: > Trying to compile the following program causes the DMD 0.119 compiler to crash (no error message) when using the -unittest switch. <snip code> The bug doesn't depend on unittest. It happens whenever a catch block consists of a single debug or version statement, as long as the debug/version block is versioned out but the surrounding code isn't. http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/3288 Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on on the 'group where everyone may benefit. |
Copyright © 1999-2021 by the D Language Foundation