Thread overview
[Issue 23326] invariant syntax is inconsistently strict for annotations
Sep 04, 2022
Ali Cehreli
Sep 04, 2022
Dennis
Sep 05, 2022
Nick Treleaven
Dec 17, 2022
Iain Buclaw
September 04, 2022
https://issues.dlang.org/show_bug.cgi?id=23326

Ali Cehreli <acehreli@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
September 04, 2022
https://issues.dlang.org/show_bug.cgi?id=23326

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #1 from Dennis <dkorpel@live.nl> ---
Notably the same applies to unittest:

```
@nogc unittest {}  // fine
unittest @nogc {}  // compilation errors with -unittest
```

--
September 05, 2022
https://issues.dlang.org/show_bug.cgi?id=23326

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #2 from Nick Treleaven <nick@geany.org> ---
Also for the override attribute:

override void f() {} // ok
void f() override {} // error

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=23326

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

--