https://issues.dlang.org/show_bug.cgi?id=10892

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from RazvanN <[email protected]> ---
This issue is invalid. There is no order relationship between the declarations
inside a template scope, so the expectation that the static assert is evaluated
before the enum declaration is misguided. The general case is that the assert
actually tests something that is defined inside the the template declaration
scope, therefore we shouldn't expect a relationship order.

--

Reply via email to