June 13, 2023 Learn » Re: looking for work-around: _d_assocarrayliteralTX segfault assigning a shared associative array an AA literal | |||
|---|---|---|---|
| |||
...it fails in the `shared` case: ```d assert(typeid(ti) == typeid(TypeInfo_AssociativeArray)); ``` If there... | |||
June 13, 2023 Learn » Re: assert/static assert message format difference | |||
|---|---|---|---|
| |||
internal detail. Static assert will render the message by formatting an AST node, i.e... | |||
June 13, 2023 Learn » assert/static assert message format difference | |||
|---|---|---|---|
| |||
...that:
```
void main() {
// static assert (false, "Static Assert triggered");
assert(false, "Assert triggered");
}
```
produces
```
core... | |||
June 10, 2023 Issues » [Issue 23986] New: ICE: dip1021 asserts on `typeof(null)` parameter | |||
|---|---|---|---|
| |||
...g()
{
f(null, null);
}
```
Hits the `default: assert(0)` in dmd.escape.isReferenceToMutable, because it... | |||
June 09, 2023 Learn » Re: byte and short data types use cases | |||
|---|---|---|---|
| |||
...offs 1
ulong b; // offs 8
}
static assert(S1.sizeof > S2.sizeof); // 24 VS 16... | |||
June 09, 2023 Issues » [Issue 23981] New: enum siblings and struct member naming conflict undetected and counter intuitive path prefered | |||
|---|---|---|---|
| |||
...casted".writeln;
return up;//down;
}
bool down(){
assert(j==0,"called down on something not... | |||
June 08, 2023 Issues » [Issue 23979] 2.104 segfaults | |||
|---|---|---|---|
| |||
...void h()
{
const auto classPtr = SPtr.init;
assert(!__traits(compiles, *classPtr));
}
struct SPtr
{
A ptr... | |||
June 08, 2023 Issues » [Issue 23979] 2.104 segfaults | |||
|---|---|---|---|
| |||
...line: source/mud/memory/smartpointers.d:179 ``` assert(!__traits(compiles, *classPtr)); ``` I'm looking into... | |||
June 08, 2023 GDC » Regression - quality of generated x86-64 code between GDC v12.3 and v13.1 | |||
|---|---|---|---|
| |||
...supply one static assert( eax.sizeof * 8 == 32 ); // optional, exact static assert( eax.sizeof * 8... | |||
June 07, 2023 Issues » [Issue 23976] std.range.slide fails in dmd-2.104.0 | |||
|---|---|---|---|
| |||
...103.1 and dmd-2.104.0
assert(a.slide(2).map!(r => r.walkLength... | |||
Copyright © 1999-2021 by the D Language Foundation