My late christmas present for you: context-aware assertion error messages

Seb seb at wilzba.ch
Sun Jan 13 12:01:49 UTC 2019


On Sunday, 13 January 2019 at 11:11:05 UTC, Per Nordlöw wrote:
> On Saturday, 12 January 2019 at 15:34:02 UTC, Seb wrote:
>> https://dlang.org/changelog/pending.html#error-context
>> Play online: https://run.dlang.io/is/8gsye1
>
> Is there a way to download a dmd nightly and try this out?

e.g. https://run.dlang.io/is/GMfe9S for playing online with it.

or:

curl https://dlang.org/install.sh | bash -s dmd-nightly

> The nightly at https://dlang.org/download.html is currently 
> broken.

The link just uses HTTPS which isn't supported by the S3 bucket.
HTTP works: HTTP works: http://downloads.dlang.org/nightlies/

See also: https://github.com/dlang/dlang.org/pull/2554

Alternatively, you could always use digger:


---
dub fetch digger
dub run digger -- build
---

(this will build the current master of 
DMD/Druntime/Phobos/Tools/Dub automatically for you)


More information about the Digitalmars-d mailing list