D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
View | Details | Raw Unified | Return to issue 20780
Collapse All | Expand All

(-)a/src/dmd/parse.d (+9 lines)
Lines 7255-7260 final class Parser(AST) : Lexer Link Here
7255
            case TOK.rightParentheses:
7255
            case TOK.rightParentheses:
7256
                break;
7256
                break;
7257
7257
7258
            case TOK.at:
7259
                Token* pastAttr;
7260
                if (skipAttributes(t, &pastAttr))
7261
                {
7262
                    t = pastAttr;
7263
                    goto default;
7264
                }
7265
                break;
7266
7258
            case TOK.dotDotDot:
7267
            case TOK.dotDotDot:
7259
                t = peek(t);
7268
                t = peek(t);
7260
                break;
7269
                break;
(-)a/test/compilable/b20780.d (-1 / +13 lines)
Line 0 Link Here
0
- 
1
void main()
2
{
3
    struct  A;
4
    struct  B { struct CD;}
5
    alias   V = void;
6
    alias   I = int;
7
    V    test0(@A I)                    {}
8
    V    test1(@A I p)                  {}
9
    V    test2(@A @(B) I)               {}
10
    V    test3(@(B.CD) @B I)            {}
11
    V    test4(@A I, @B @A I)           {}
12
    V    test5(@A I p, @(B.CD) @A I )   {}
13
}

Return to issue 20780