May 18, 2023 Issues » [Issue 23927] New: Missing unreachable warning after call to a noreturn function as if-condition | |||
|---|---|---|---|
| |||
...without warning
```
alias NR = typeof(assert(0));
NR test(){assert(0);}
void main()
{
if (test... | |||
May 18, 2023 Issues » [Issue 17315] Assigning a delegate to a function compiles but causes segfault | |||
|---|---|---|---|
| |||
...t compile
}
int x = 1;
Base _load() {
assert(x == 1, x.text); //
core.exception.AssertError... | |||
May 17, 2023 Learn » Re: Proper way to handle "alias this" deprecation for classes | |||
|---|---|---|---|
| |||
...1'; assert(chr == '!'); //char test = f; // Error: cannot implicitly convert expression //assert... | |||
May 15, 2023 General » Use-after-scope bug in Phobos unittest, how to fix? | |||
|---|---|---|---|
| |||
...scope...
assert(rc1 == 5);
assert(rc1._refCounted._store._count == 1);
auto rc2 = rc1;
assert(rc1... | |||
May 15, 2023 General » Re: A few holes (imho) in the ecosystem of libraries | |||
|---|---|---|---|
| |||
...ByteOrder.littleEndian); assert(a == 10); position = 2; ubyte b = stream.get!ubyte; assert(b == 33... | |||
May 14, 2023 Announce » D Language Foundation April 2023 Monthly Meeting Summary | |||
|---|---|---|---|
| |||
...he'd used `if(__ctfe} { // code } else assert(0)`. Átila thinks the contract is a... | |||
May 13, 2023 Issues » [Issue 23920] New: object.require modifies AA before populating value | |||
|---|---|---|---|
| |||
...oops");
else
return 1;
}());
catch (Exception e) {}
assert(5 !in aa);
}
////////////////////////////////////////////
This allows bypassing the... | |||
May 12, 2023 Issues » [Issue 23917] "ref" in alias this call not detected in "auto ref" return resolution | |||
|---|---|---|---|
| |||
...this); }
struct A
{
@property ref NC value() { assert(false); }
alias value this;
}
A a;
ref... | |||
May 12, 2023 Issues » [Issue 23917] New: "ref" in alias this call not detected in "auto ref" return resolution | |||
|---|---|---|---|
| |||
...S
{
struct A
{
@property ref NC value() { assert(false); }
alias value this;
}
A a;
auto... | |||
May 12, 2023 Issues » [Issue 23364] returning bottom type by ref should work | |||
|---|---|---|---|
| |||
...alternative definition of noreturn, e.g. `typeof(assert(false))`, I'm not sure that this... | |||
Copyright © 1999-2021 by the D Language Foundation