Re: Broken examples

2021-03-09 Thread Imperatorn via Digitalmars-d-learn
On Tuesday, 9 March 2021 at 15:44:39 UTC, MoonlightSentinel wrote: On Saturday, 6 March 2021 at 08:15:16 UTC, Imperatorn wrote: Are you sure? 樂 I tried switching to dmd-beta, dmd-nightly, ldc and ldc-beta and none of them worked. Yes. All of those were stuck at 2.093 due to some issues

Re: Broken examples

2021-03-09 Thread MoonlightSentinel via Digitalmars-d-learn
On Saturday, 6 March 2021 at 09:38:54 UTC, Ali Çehreli wrote: Are you getting the same errors with those dmd versions? My locally installed compiler is dmd 2.094.2, which seems to be too old for parse's new doCount template parameter. (I look inside /usr/include/dmd/phobos/std/conv.d on my

Re: Broken examples

2021-03-09 Thread MoonlightSentinel via Digitalmars-d-learn
On Saturday, 6 March 2021 at 08:15:16 UTC, Imperatorn wrote: Are you sure? 樂 I tried switching to dmd-beta, dmd-nightly, ldc and ldc-beta and none of them worked. Yes. All of those were stuck at 2.093 due to some issues with Travis. We've resolved those issues over the last few days and

Re: Broken examples

2021-03-06 Thread Imperatorn via Digitalmars-d-learn
On Saturday, 6 March 2021 at 09:38:54 UTC, Ali Çehreli wrote: On 3/6/21 12:15 AM, Imperatorn wrote: On Saturday, 6 March 2021 at 01:30:35 UTC, MoonlightSentinel wrote: [...] Are you sure? 樂 I tried switching to dmd-beta, dmd-nightly, ldc and ldc-beta and none of them worked. Are you

Re: Broken examples

2021-03-06 Thread Ali Çehreli via Digitalmars-d-learn
On 3/6/21 12:15 AM, Imperatorn wrote: On Saturday, 6 March 2021 at 01:30:35 UTC, MoonlightSentinel wrote: On Friday, 5 March 2021 at 22:01:37 UTC, Imperatorn wrote: Any idea why? The examples are compiled using an older host compiler (__VERSION__ is 2.093) but use features introduced in a

Re: Broken examples

2021-03-06 Thread Imperatorn via Digitalmars-d-learn
On Saturday, 6 March 2021 at 01:30:35 UTC, MoonlightSentinel wrote: On Friday, 5 March 2021 at 22:01:37 UTC, Imperatorn wrote: Any idea why? The examples are compiled using an older host compiler (__VERSION__ is 2.093) but use features introduced in a later version. This will be fixed by

Re: Broken examples

2021-03-05 Thread MoonlightSentinel via Digitalmars-d-learn
On Friday, 5 March 2021 at 22:01:37 UTC, Imperatorn wrote: Any idea why? The examples are compiled using an older host compiler (__VERSION__ is 2.093) but use features introduced in a later version. This will be fixed by upgrading the compiler (the examples are checked using current master

Re: Broken examples

2021-03-05 Thread NonNull via Digitalmars-d-learn
On Friday, 5 March 2021 at 22:59:09 UTC, H. S. Teoh wrote: On Fri, Mar 05, 2021 at 10:01:37PM +, Imperatorn via Digitalmars-d-learn wrote: Basically none of the examples on here compile: https://dlang.org/library/std/conv/parse.html Any idea why? File a bug. T Sad that there's such

Re: Broken examples

2021-03-05 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Mar 05, 2021 at 10:01:37PM +, Imperatorn via Digitalmars-d-learn wrote: > Basically none of the examples on here compile: > https://dlang.org/library/std/conv/parse.html > > Any idea why? File a bug. T -- By understanding a machine-oriented language, the programmer will tend to

Re: Broken examples

2021-03-05 Thread Imperatorn via Digitalmars-d-learn
On Friday, 5 March 2021 at 22:01:37 UTC, Imperatorn wrote: Basically none of the examples on here compile: https://dlang.org/library/std/conv/parse.html Any idea why? Output: onlineapp.d(10): Error: template `std.conv.parse` cannot deduce function from argument types `!(bool, string,