NCrashed Posted in reply to NCrashed



Permalink Reply

On Tuesday, 17 March 2015 at 10:52:18 UTC, NCrashed wrote: > On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote: >> Release Candidate for 2.067.0 >> >> http:// downloads. dlang.org/ pre-releases/ 2.x/2.067.0/ >> http://ftp.digitalmars.com/ >> You can get the binaries here until they are mirrored. >> https:// dlang.dawg.eu/ downloads/ dmd.2.067. 0-rc1/ >> >> We fixed the few remaining issues. >> https:// github.com/ D-Programming- Language/ dmd/compare/ v2.067.0-b4.. .v2.067.0-rc1 >> https:// github.com/ D-Programming- Language/ phobos/ compare/ v2.067.0-b4.. .v2.067.0-rc1 >> >> Unless any new issue pops up, we'll make the release on friday. >> >> -Martin Release Candidate for 2.067.0You can get the binaries here until they are mirrored.We fixed the few remaining issues.Unless any new issue pops up, we'll make the release on friday.-Martin > > Seems a new regression with DList: > ``` > import std.container.dlist; > > interface ITest {} > > class Test : ITest {} > > void main() > { > DList!ITest().insertBack(new Test()); > } > ``` > > Compiles successfully with 2.066.1 On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:Seems a new regression with DList:```import std.container.dlist;interface ITest {}class Test : ITest {}void main()DList!ITest().insertBack(new Test());```Compiles successfully with 2.066.1 /usr/include/ dmd/pho bos/std/ container/ dlist.d(642): Error: template std.container. dlist. DList!(ITest). DList. createNode cannot deduce function from argument types !()(Test, BaseNode*, BaseNode*), candidates are: /usr/include/ dmd/pho bos/std/ container/ dlist.d(166): std.container. dlist. DList!(ITest). DList. createNode( )(ref T arg, BaseNode* prev = null, BaseNode* next = null) /usr/include/ dmd/pho bos/std/ container/ dlist.d(414): Error: template instance std.container. dlist. DList!(ITest). DList. insertBe foreNode! (Test) error instantiating source/app.d(9): instantiated from here: insertBack!(Test) ```