Search

January 09, 2023
Issues »
...slices to the data.

    auto slice = link[0 .. $];
    link.length = 1;
    assert(slice[1] == parent);

--
January 09, 2023
General »
...case you wonder who I am to assert this forcefully: I'm the guy who...
January 09, 2023
General »
...const.
* Therefore, the assert always fails. (It must not be treated like assert(false), tho...
January 08, 2023
Learn »
...i) => i >> 1;
}

import std;

void main()
{
    assert(oneHalf(42) == 21);
    42.foo!int...
January 08, 2023
Learn »
...ICustomDrawable {
   ...
    void addChild(T)(T child) {
        static assert(is(T : ICustomDrawable), "Invalid type T for...
January 08, 2023
Issues »
...d:1373 assert fail" fixing this issue:

- fix Issue 23218 - cgxmm.d:1373 assert fail...
January 07, 2023
Issues »
...void test(T)() {
    assert(iota(T(1), T(2), T(-1)).empty);
    assert(iota(T...
January 07, 2023
Learn »
...culprit is this assert in the `in` block of the fp implementation:

```
assert((end - begin...
January 07, 2023
Learn »
...token.value;
    } while (lexer.nextToken != TOK.endOfFile);

    assert(result == expected);
}
```

And then just ``$ dub run``.
January 07, 2023
General »
...myAlloc;

  //pseudocode
  static assert(__traits(isSame, allocof(hatesGC), allocof(hatesGC.name)));
  static assert(__traits(isSame...
111 112 113 114 115 116 117 118 119 120 121
Next ›   Last »