Search

March 15, 2023
Issues »
...int before = s.n;
    s.__ctor(456);
    assert(s.n == before); // fails
}
---

The cause of...
March 14, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23773

--- Comment #6 from Dlang Bot <dlang...
March 14, 2023
Issues »
...to `_d_arraysetlengthT(a, i)` so that's why the assert error is not caught.

--
March 14, 2023
Issues »
...c_complex_real n = toNative2(123, 456);
    assert(123 == n.re && 456 == n.im);
}
---------
The...
March 14, 2023
Learn »
...line = "abcdef";
	auto parts = evenChunks(line, 2);
	assert(parts == ["abc", "def"]);
}
```

But I'm getting...
March 13, 2023
Issues »
...static assert(is(T == int[1]));
---

---
// example 2
shared(int[1]) a;
static assert(is...
March 13, 2023
Genel »
...inConst(b);/*
  auto r = a.outConst(b);
  assert( r.x == 42 &&
    !isMutable!( typeof(r) )
  );//*/
                     //               inConst...
March 13, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23773

--- Comment #4 from RazvanN <razvan.nitu1305...
March 13, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23773

RazvanN <razvan.nitu1305@gmail.com> changed...
March 13, 2023
Issues »
...gets the chance to error about the assert. It makes sense that the assignment needs...
92 93 94 95 96 97 98 99 100 101 102 103
Next ›   Last »