On Wednesday, 11 September 2024 at 08:08:45 UTC, ryuukk_ wrote:
It is a bug, don't claim it is not, the compiler gives the wrong information, wich lead to a confused userYou don't want confused users, you want compiler say what's up, if i type assert, it should assert, end of the story
The behaviour is by design, it is not a bug, it is documented in the spec:
https://dlang.org/spec/expression.html#assert-ct