On Wednesday, 11 September 2024 at 09:14:39 UTC, Nick Treleaven wrote:
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 user

You 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


Oh right, "illegal instruction" is what users should read in order to "fix" their code

I again apologies for being wrong and i apologies again for trying to improve things, i didn't meant to do that, i now may leave again

Reply via email to