Thread overview
[Issue 16020] AliasDeclarationY doesn't allow to alias a function type
Jun 22, 2017
ZombineDev
Apr 21, 2019
Dlang Bot
[Issue 16020] Allow AliasDeclarationY to express function types
Apr 21, 2019
Basile-z
May 17, 2019
Dlang Bot
June 22, 2017
https://issues.dlang.org/show_bug.cgi?id=16020

greensunny12@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12@gmail.com

--
June 22, 2017
https://issues.dlang.org/show_bug.cgi?id=16020

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petar.p.kirov@gmail.com

--
April 21, 2019
https://issues.dlang.org/show_bug.cgi?id=16020

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Basile-z created dlang/dmd pull request #9667 "fix issue 16020 - Allow AliasDeclarationY to express function types" fixing this issue:

- fix issue 16020 - Allow AliasDeclarationY to express function types

  The (not so) new alias declaration, using the assignment operator, is
preferred over the old C-style declarations.
  However they didn't allow to express function types, which lead to blend the
declaration styles.

  This change adds a new rule to `AliasDeclarationY` to solve the problem,

  ```diff
  AliasDeclarationY:
  +    'alias' Identifier '=' BasicType '(' Parameters ')' Attributes?
  ```

  consolidating the language consistency.

https://github.com/dlang/dmd/pull/9667

--
April 21, 2019
https://issues.dlang.org/show_bug.cgi?id=16020

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|AliasDeclarationY doesn't   |Allow AliasDeclarationY to
                   |allow to alias a function   |express function types
                   |type                        |

--
May 17, 2019
https://issues.dlang.org/show_bug.cgi?id=16020

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #9667 "Grammar change - Allow AliasDeclarationY to express function types" was merged into master:

- 527f213573a50896b7b5c85d3a7bc284b520270a by Basile Burg:
  fix issue 16020 - Allow AliasDeclarationY to express function types

https://github.com/dlang/dmd/pull/9667

--