Florian
Florian
A byproduct of the recent bugfixes.
Infer noreturn whenever the function body is never exited normally. Also added a bunch of tests from the DIP that really should've been added in the initial PR's... (because many...
This ensures that a bug / breakage in the tested compiler doesn't prevent the actual test execution (because `run.d` aborts when the test tools fail to build). The only drawback...
Template instances may use deprecated symbols that were passed as template parameters or selected based on an instance-specific condition. Previously DMD raised deprecation messages for the deprecated symbol at the...
Allow functions marked as `pragma(crt_constructor)` to modify `const` / `immutable` variables, which is currently restricted to module ctors. This enables the use of lazily initialized global constants for applications without...
A dmd binary built on FreeBSD with `-flto=full` segfaults at runtime. This issue was observed in the nightly build that recently enabled LTO (`ENABLE_LTO=1` adds `-flto=full` for LDC). Previous builds...
This enables e.g. verification for tests hidden by `version (StdDoc)` without running them (wich usually are version'ed for exactly that reason). This change wraps the unittest body in `if (false)...
The trailing statements become unreachable when the callbacks return `noreturn`, e.g. because they are known to always throw an exception. Hence check the return type of the callables and only...
... value / alias parameters. The introduced copies ensure that the initialized parameters of the instantiation do not share objects with the template declaration. Previously, sharing could occur in the...