New little features in Descent

Qian Xu quian.xu at stud.tu-ilmenau.de
Wed Aug 26 07:25:02 PDT 2009


Hi Ary,

well done.

Here is a small bug report about the code fomatter:


=============================
import tango.io.Stdout;
import tango.core.Exception;

void main(char[][] args)
{
    try
    {
        /* Do some stuff */
    }
    catch (IOException ex)
    {
        Stdout.formatln("Caught IOException!");
    /* Consequence: Clean up and possibly try again. */
    } catch (Exception ex)
    {
        Stdout.formatln("Caught unexpected exception!");
    /* Consequence: Die as gracefully as possible. */
    }
}
=============================

You can see, the first catch-block is placed from a new line, but the second
catch-block is not. Could you please fix this issue?

Thanks in advance.


More information about the Digitalmars-d-announce mailing list