Nick Treleaven
Nick Treleaven
Oh sorry. Seems like the bot linking to bugzilla even for drafts would be useful.
Error, unsure if related: ``` failed to build 'D:\a\dmd\dmd\compiler\test\test_results\d_do_test.exe' d_do_test-ut.obj : fatal error LNK1179: invalid or corrupt file: duplicate COMDAT '_D3std9algorithm9searching__T8skipOverZ__TQnTAyaTQeZQxFNaNfKQpQrZb' ``` Update: possibly caused by https://issues.dlang.org/show_bug.cgi?id=16687
Surely `(int[]).front` is wrong - *(Type).Identifier* only works for type properties. Edit: Sorry, you are correct that the suggestion is wrong.
Walter from https://forum.dlang.org/post/[email protected]: > D relies on the null dereference not being "optimized away". Maybe there's a switch for that on ldc, there should be if there isn't one. That...
Timon & Derek Fawcus on the forum found this for LLVM: > If "null-pointer-is-valid" is set to "true", then null address in address-space 0 is considered to be a valid...
I prefer [Dennis's suggestion](https://github.com/dlang/dlang.org/pull/3871#issuecomment-2210901307), I think that's clearer. (I don't have merge rights).
I don't think `if (ref x = y)` actually compiles yet. https://github.com/dlang/dmd/pull/16428 is not merged, and I don't know if it covers that case.
@Bolpat I think it's confusing. There should at least be a note that the reference compiler doesn't implement it. > it ought to be because the respective DIP was accepted....
Ok, thanks. The dmd pull is merged now anyway.
OK. Perhaps it would be good to allow the reader to manually switch to markdown? A hint could be displayed when ```d is present in a non-markdown post.