[Issue 1133] Header generation omits parentheses

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 7 03:08:13 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=1133





------- Comment #7 from baryluk at smp.if.uj.edu.pl  2009-03-07 05:08 -------
1.039 works correctly for first example. Second is not reproductible, next time
send full examples.


# cat d1133.d
class A {
        Object[Object] mData;

    public synchronized bool contains( Object value ){
            return (( value in mData ) !is null );
    }
}
# dmd-1.039 d1133.d -c -H
# cat d1133.di
// D import file generated from 'd1.d'
class A
{
    Object[Object] mData;
    public
{
    synchronized
{
    bool contains(Object value)
{
return (value in mData) !is null;
}
}
}
}

# dmd-2.026  -c -H d1133.d
# cat d1133.di 
// D import file generated from 'd1.d'
class A
{
    Object[Object] mData;
    public
{
    synchronized
{
    bool contains(Object value)
{
return (value in mData) !is null;
}
}
}
}


-- 



More information about the Digitalmars-d-bugs mailing list