September 02, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote:
> Glad to announce D 2.076.0.
>
> This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes.
>
> Thanks to everyone involved in this 👏.
>
> http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html
>
> - -Martin
" -betterC enhancements " is listed twice in the changelog
|
September 02, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: > Glad to announce D 2.076.0. > > This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. > > Thanks to everyone involved in this 👏. > > http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html > > - -Martin First "static foreach" bug report https://issues.dlang.org/show_bug.cgi?id=17800 |
September 03, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote:
> Glad to announce D 2.076.0.
>
> This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes.
>
> Thanks to everyone involved in this 👏.
>
> http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html
>
> - -Martin
Just downloaded it, the linux version reports as v2.076.0-dirty, probably want to get rid of the "dirty" tag for an official release.
|
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ilya Yaroshenko | On 02.09.2017 08:51, Ilya Yaroshenko wrote: > On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: >> Glad to announce D 2.076.0. >> >> This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. >> >> Thanks to everyone involved in this 👏. >> >> http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html >> >> - -Martin > > First "static foreach" bug report > https://issues.dlang.org/show_bug.cgi?id=17800 > Thanks, but actually it is the second one. ;) https://issues.dlang.org/show_bug.cgi?id=17688 I'll get to work. |
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On 04.09.2017 11:00, Timon Gehr wrote: > On 02.09.2017 08:51, Ilya Yaroshenko wrote: >> On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: >>> Glad to announce D 2.076.0. >>> >>> This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. >>> >>> Thanks to everyone involved in this 👏. >>> >>> http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html >>> >>> - -Martin >> >> First "static foreach" bug report >> https://issues.dlang.org/show_bug.cgi?id=17800 >> > > Thanks, but actually it is the second one. ;) > https://issues.dlang.org/show_bug.cgi?id=17688 > > I'll get to work. https://github.com/dlang/dmd/pull/7118 |
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On Monday, 4 September 2017 at 10:06:33 UTC, Timon Gehr wrote: > On 04.09.2017 11:00, Timon Gehr wrote: >> On 02.09.2017 08:51, Ilya Yaroshenko wrote: >>> On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: >>>> Glad to announce D 2.076.0. >>>> >>>> This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. >>>> >>>> Thanks to everyone involved in this 👏. >>>> >>>> http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html >>>> >>>> - -Martin >>> >>> First "static foreach" bug report >>> https://issues.dlang.org/show_bug.cgi?id=17800 >>> >> >> Thanks, but actually it is the second one. ;) >> https://issues.dlang.org/show_bug.cgi?id=17688 >> >> I'll get to work. > > https://github.com/dlang/dmd/pull/7118 Thanks for the great work on implementing this feature and addressing problems so quickly! Would you be able to also address https://issues.dlang.org/show_bug.cgi?id=17798? |
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote:
>
> This release comes with static foreach
Great! I noticed one small issue, though. When compiled with warnings, it warns about unreachable code when static foreach in a switch, for example:
void trySwitch(int x) {
import std.stdio : writeln;
SWITCH: final switch (x) {
static foreach (y; [ 1, 2, 3 ]) {
case y:
writeln("found");
break SWITCH;
}
}
}
void main(string[] args) {
import std.conv : to;
trySwitch(args.length > 1 ? to!int(args[1]) : 1);
}
Compilation:
$ dmd -wi ./main.d
./main.d(5): Warning: statement is not reachable
./main.d(5): Warning: statement is not reachable
./main.d(5): Warning: statement is not reachable
./main.d(5): Warning: statement is not reachable
It works, though, so I guess it's not a bug per se.
|
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | What's the problem with `TypeInfo_Typedef`? https://github.com/dlang/undeaD shows "build:failing". https://travis-ci.org/dlang/undeaD/jobs/270947584 shows: src/undead/doformat.d(934,23): Error: undefined identifier TypeInfo_Typedef |
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: > Glad to announce D 2.076.0. > > This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. > > Thanks to everyone involved in this 👏. > > http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html > > - -Martin There is an announce thread on popular Russian resource linux.org.ru https://www.linux.org.ru/news/development/13651713 Everyone who knows Russian, please join. |
September 04, 2017 Re: Release D 2.076.0 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On 04.09.2017 12:46, Petar Kirov [ZombineDev] wrote: > Would you be able to also address https://issues.dlang.org/show_bug.cgi?id=17798? https://github.com/dlang/dlang.org/pull/1884 (Any help with getting it to build appreciated -- even the base 'stable' branch does not compile on my machine.) |
Copyright © 1999-2021 by the D Language Foundation