dmd
dmd copied to clipboard
dmd D Programming Language compiler
Either the compiler needs to start rejecting derived version identifiers, or the spec needs fixing. Putting this out there as an experimental change - warts and all. :-) ---- **Analysis**:...
… absolute path The feature is required for an application of metaprogramming within Symmetry. A flag is added rather than changing the default in case it breaks something.
So that code can be aware of whether it's compiled with `-O`, e.g., to distinguish between debug and optimized release builds (not necessarily using `-release`). Rationale: https://dlang.slack.com/archives/C1ZDHBB2S/p1655556068067789 I'd have use...
This stopped being tested when the [semaphoreci.sh](https://github.com/dlang/dmd/blob/fe4ade5b7c3d88120d92f52dcc48a166df7bd38b/semaphoreci.sh#L43) script [was removed](https://github.com/dlang/dmd/blob/fe4ade5b7c3d88120d92f52dcc48a166df7bd38b/ci.sh#L90-L95) in a [previous PR](https://github.com/dlang/dmd/pull/13474).
Signed-off-by: Luís Ferreira
Includes other function-only attributes as well, such as `@nogc` `@property` `nothrow` and `@live`.
Signed-off-by: Luís Ferreira --- Related to https://github.com/dlang/dlang.org/pull/3120 . CC @kinke .
Rebase of https://github.com/dlang/dmd/pull/11014, which was stalled because of a trailing whitespace. I made a new PR because the rebase was non-trivial and a force push is risky, and it seems...
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...
…he syntax mixin[C], bikeshed away) - Currently just for expressions. We don't capture macros yet so this isn't particularly useful just yet (we do have a small macro engine for...