August 07, 2015
On Wed, 05 Aug 2015 18:05:50 -0700, Walter Bright wrote:

> On 8/4/2015 4:57 PM, Martin Nowak wrote:
>> Release Candidate for 2.068.0
> 
> 
> Thank you, Martin!

I have found the `-profile=gc` very useful. Thanks Walter! I think it deserves a changelog entry.
August 07, 2015
On 08/04/2015 04:57 PM, Martin Nowak wrote:
> Release Candidate for 2.068.0
>
> http://downloads.dlang.org/pre-releases/2.x/2.068.0/
> http://ftp.digitalmars.com/
>
> We fixed the remaining issues.
>
> https://github.com/D-Programming-Language/dmd/compare/v2.068.0-b2...v2.068.0-rc1
> https://github.com/D-Programming-Language/druntime/compare/v2.068.0-b2...v2.068.0-rc1
> https://github.com/D-Programming-Language/phobos/compare/v2.068.0-b2...v2.068.0-rc1
> https://github.com/D-Programming-Language/installer/compare/v2.068.0-b2...v2.068.0-rc1
>
> Unless any new issue pops up, we'll make the release on friday.
>
> -Martin
>

The following code reduced from a D.learn post seems to be a bug. Is that important enough to hold this release?

static if does not work although an is expression produces 'true':

import std.stdio;

auto foo(T)(T)
{
    return 42;
}

struct Vector(T)
{
    pragma(msg, is(typeof(foo(Vector.init))));    // prints true

    static if(is(typeof(foo(Vector.init)))) {
        static assert(false);                     // is not included
    }
}

void main()
{
    Vector!float v;
}

Ali

August 07, 2015
On 08/06/2015 01:06 AM, Martin Nowak wrote:
> On Wednesday, 5 August 2015 at 23:38:22 UTC, Brian Schott wrote:
>> On Wednesday, 5 August 2015 at 20:57:49 UTC, anonymous wrote:
>>> getUDAs and getSymbolsByUDA don't seem to have made it, so they're
>>> correctly commented out for now.
>>
>> That's annoying. Those three were meant to go together.
>
> It is unfortunate, should we drop hasUDA out of stable?

If anybody cares, I've already updated my book by replacing a hand-written function with hasUDA. (Sometimes I feel too efficient. :p)

Ali

August 07, 2015
On 8/6/2015 11:49 PM, Ali Çehreli wrote:
> The following code reduced from a D.learn post seems to be a bug.

Please post to bugzilla.
August 07, 2015
It's a regression, please file a report.

Digger sez:

commit 84abb30751cbb7b4a0f7aaca706c12807be029bf
Author: Walter Bright <walter@walterbright.com>
Date:   Wed May 13 14:38:14 2015 -0700

    dmd: Merge pull request #4635 from 9rnsr/fix14549

    https://github.com/D-Programming-Language/dmd/pull/4635

    Issue 14549 - isVirtualMethod does not work well with Github DMD

diff --git a/dmd b/dmd
index acbe13e..5ae249a 160000
--- a/dmd
+++ b/dmd
@@ -1 +1 @@
-Subproject commit acbe13ee54e024c0bba044d1146e244a5ea57502
+Subproject commit 5ae249a6737e2bd048eeef3b4897464b567b3408

August 07, 2015
On Friday, 7 August 2015 at 07:46:42 UTC, Marc Schütz wrote:
> It's a regression, please file a report.
>
> Digger sez:
>
> commit 84abb30751cbb7b4a0f7aaca706c12807be029bf
> Author: Walter Bright <walter@walterbright.com>
> Date:   Wed May 13 14:38:14 2015 -0700
>
>     dmd: Merge pull request #4635 from 9rnsr/fix14549
>
>     https://github.com/D-Programming-Language/dmd/pull/4635
>
>     Issue 14549 - isVirtualMethod does not work well with Github DMD
>
> diff --git a/dmd b/dmd
> index acbe13e..5ae249a 160000
> --- a/dmd
> +++ b/dmd
> @@ -1 +1 @@
> -Subproject commit acbe13ee54e024c0bba044d1146e244a5ea57502
> +Subproject commit 5ae249a6737e2bd048eeef3b4897464b567b3408

https://issues.dlang.org/show_bug.cgi?id=14883
1 2
Next ›   Last »