Jump to page: 1 2
Thread overview
[dmd-beta] D2 2.056 alpha
Dec 05, 2011
Walter Bright
Dec 05, 2011
Jonathan M Davis
Dec 05, 2011
David Simcha
[dmd-beta] D2 2.057 alpha
Dec 05, 2011
Walter Bright
Dec 06, 2011
Nick Sabalausky
Dec 06, 2011
Jordi Sayol
Dec 06, 2011
Nick Sabalausky
Dec 06, 2011
Nick Sabalausky
Dec 06, 2011
Nick Sabalausky
Dec 06, 2011
Dmitry Olshansky
Dec 06, 2011
Nick Sabalausky
Dec 06, 2011
Dmitry Olshansky
Dec 06, 2011
Jacob Carlborg
Dec 06, 2011
Dmitry Olshansky
Dec 05, 2011
David Simcha
Dec 05, 2011
Don Clugston
December 04, 2011
http://ftp.digitalmars.com/dmd2beta.zip

At this point, I'd like to stick to doing pulls only to fix regressions. Time to do a release.
December 04, 2011
On Sunday, December 04, 2011 19:22:55 Walter Bright wrote:
> http://ftp.digitalmars.com/dmd2beta.zip
> 
> At this point, I'd like to stick to doing pulls only to fix regressions. Time to do a release.

Actually, it should be 2.057. 2.056 has already been released. It's also a bit weird to use alpha in the title and mark the file as beta.

- Jonathan M Davis
December 04, 2011
Shouldn't it be 2.057 beta, not 2.056 alpha?

On 12/4/2011 10:22 PM, Walter Bright wrote:
> http://ftp.digitalmars.com/dmd2beta.zip
>
> At this point, I'd like to stick to doing pulls only to fix
> regressions. Time to do a release.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>


December 04, 2011
Yes.

On 12/4/2011 7:45 PM, David Simcha wrote:
> Shouldn't it be 2.057 beta, not 2.056 alpha?
>
December 05, 2011
On 12/4/2011 10:22 PM, Walter Bright wrote:
> http://ftp.digitalmars.com/dmd2beta.zip
>
> At this point, I'd like to stick to doing pulls only to fix
> regressions. Time to do a release.
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>

I found a really trivial regression caused by a combination of a pre-existing latent bug in std.range.lockstep and DMD enforcing const more strictly.  The fix is here:

https://github.com/D-Programming-Language/phobos/pull/351
December 05, 2011
On 5 December 2011 04:22, Walter Bright <walter at digitalmars.com> wrote:
> http://ftp.digitalmars.com/dmd2beta.zip
>
> At this point, I'd like to stick to doing pulls only to fix regressions. Time to do a release.

Couple of issues with the docs:
index.html includes the redirect to d-p-l.org. This is wrong, you
should be able to see the docs for the version you've downloaded.

changelog is obviously not finished - bad formatting. the top section
"invariant is deprecated" is misleading consider rephrasing as
something like:
"invariant as a synonym for immutable is deprecated". New features
should probably have a mention of "classes, interfaces, and exceptions
are supported in CTFE".

Somehow std.boxer has reappeared in the sidebar. Ditto std.cover,
std.intrinsic, std.outofmemory, ...
I have a sense of deja vu with this. Did the correct sidebar file get
clobbered with an old one? Somebody changed the makefile for the docs
not so long ago, maybe it was done wrongly.
December 06, 2011
There's no linebreaks in the "DMD Bugs Fixed" section of the changelog. There's also a missing line break towards the end of "New/Changed Features".

December 06, 2011
In one of my programs I'm getting:

D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\regex.d(6576): Error: cannot implicitly convert expression (m) of type Captures!(string,uint) to RegexMatch!(string,ThompsonMatcher)

Which isn't very helpful. I'm tracking down the code that's triggering it...

December 06, 2011
From: "Nick Sabalausky" <bus_dmdbeta at semitwist.com>
> In one of my programs I'm getting:
>
> D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\regex.d(6576): Error: cannot implicitly convert expression (m) of type Captures!(string,uint) to RegexMatch!(string,ThompsonMatcher)
>
> Which isn't very helpful. I'm tracking down the code that's triggering it...
>


Test case:

import std.regex;
void main()
{
    std.regex.replace!(
        (RegexMatch!string m) { return ""; }
    )( "", regex("") );
}

December 06, 2011
On 06.12.2011 10:34, Nick Sabalausky wrote:
> From: "Nick Sabalausky" <bus_dmdbeta at semitwist.com>
>> In one of my programs I'm getting:
>>
>> D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\regex.d(6576): Error: cannot implicitly convert expression (m) of type Captures!(string,uint) to RegexMatch!(string,ThompsonMatcher)
>>
>> Which isn't very helpful. I'm tracking down the code that's triggering it...
>>
>
>
> Test case:
>
> import std.regex;
> void main()
> {
>    std.regex.replace!(
>        (RegexMatch!string m) { return ""; }
>    )( "", regex("") );
> }
>
That's the breaking change, and there is no way out of it. This one
should work:
std.regex.replace!(
        ( m) { return ""; }
    )( "", regex("") );

or

std.regex.replace!(
        (Captures!string m) { return ""; }
    )( "", regex("") );

-- 
Dmitry Olshansky

« First   ‹ Prev
1 2