[Issue 15411] Function literal accessing variable in declaration scope produces bad error message with inline call

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15411

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/8a73760be1ef00f4d0021b82da3dd68c50626e0f
Issue 15411 - Function literal accessing variable in declaration scope produces
bad error message with inline call

--


[Issue 11169] __traits(isAbstractClass) prematurely sets a class to be abstract

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11169

--- Comment #7 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/37c1edd25e261ac09aebfee28ed6890a01598d16
Issue 11169 - __traits(isAbstractClass) prematurely sets a class to be abstract

--


[Issue 14886] [REG2.066] std.parallelism.parallel with large static array seems to hang compile

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14886

--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/53ce42c3256e7a2265613a30399345eac85a7343
Issue 14886 - std.parallelism.parallel with large static array seems to hang
compile

--


[Issue 15961] [REG2.066] ICE with instance field introduced by anonymous struct

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/1d76b6fb5958150a404ed193b0aa75ae8064f4c3
Issue 15961 - ICE with instance field introduced by anonymous struct

--


[Issue 15152] [REG2.069.0-devel] template fails to instantiate if argument is itself a template

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15152

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/01de4bb5d7f9362ed9240b192d3046377047c9e1
Issue 15152 - template fails to instantiate if argument is itself a template

--


[Issue 9766] align(n) with n compile-time constant

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9766

--- Comment #12 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/5b42a07a73bb17f52ebea143bcacce033581c076
Issue 9766 - align(n) with n compile-time constant

--


[Issue 14802] Template argument deduction depends on order of arguments

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14802

--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/2e8899541d51890f116a90d4d2f6f6c07a7ae955
Issue 14802 - Template argument deduction depends on order of arguments

--


[Issue 15579] extern(C++) interfaces/multiple-inheritance

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15579

--- Comment #13 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/1a34a0f00eaf5fb8adf4e55d599d83a3d2657649
Issue 15579 - extern(C++) interfaces/multiple-inheritance

--


[Issue 15150] [REG2.068.1] Public selective import causes conflict

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15150

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/72e863ea02676f4eab27e3df6af6aa98ec99f57b
Issue 15150 - Public selective import causes conflict

--


[Issue 15172] ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors' failed.

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15172

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/dca9baa97dd4f79d4b3a830b8204c9ddd081d832
Issue 15172 - ICE(interpret.c ctfeCompile) Assertion `!fd->semantic3Errors'
failed.

--


[Issue 14858] spurious "Error: overload alias 'foo' is not a variable" when overloading template and non-template via aliases

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14858

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/56edd1af4bddce6752105dafacac9653d9fe2cdb
Issue 14858 - spurious "Error: overload alias foo is not a variable" when
overloading template and non-template via aliases

--


[Issue 15957] Disabled postblit + template mixin break opAssign with confusing error message

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15957

--- Comment #12 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/7e602e31da3eae7a46171b0b2fb38b701319e28d
Issue 15957 - Disabled postblit + template mixin break opAssign with confusing
error message

--


[Issue 16116] Infinite loop on (somewhat complex) simd math

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16116

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/635ee34c521bacb8215f728c237b3839a1f69fa6
Backport fix for frontend issue 16116

--


[Issue 15789] ICE Assert in TemplateInstance semanticTiargs

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15789

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/2a8484036e98353439754185e4814d5aee5b5aba
Issue 15789 - ICE Assert in TemplateInstance semanticTiargs

--


[Issue 10378] Prevent local imports from hiding local symbols

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10378

--- Comment #38 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/e08bd01d142b0387d2d112a60503495f72f933ef
Issue 10378 - Local imports hide local symbols

--


[Issue 15794] Lambda cannot get a chance to run its codegen

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15794

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/7df88627e5c9de77516491ec6b6a9359fea4a1a7
Issue 15794 - Lambda cannot get a chance to run its codegen

--


[Issue 12829] Wrong error line number for closure allocation in @nogc function

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12829

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/146df2580973de9a3d291be7c747e4ac7c7c2f37
Issue 12829 - Wrong error line number for closure allocation in @nogc function

--


[Issue 14496] void initialization of member with indirections must not be @safe

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14496

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/79490fb8a82af31996bfeb5ea8ddd9aac4303a2e
Issue 14496 - void initialization of member with indirections must not be @safe

--


[Issue 15404] [internal] DotIdExp(TOKdot) and DotExp(TOKdotexp)

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15404

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/3013487062c87bb585b1362d80b071f59a28e3fc
Issue 15404: Use TOKdotid for DotIdExp, TOKdot for DotExp

--


[Issue 14669] auto attribute on function parameter should be error always

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14669

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/366c8e9171b18d892a69d961ca4d8655ba28d1cf
Issue 14669 - auto attribute on function parameter should be error always

--


[Issue 7516] Postblit not called for structs returned from a ternary operator

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7516

--- Comment #8 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/3f497efad06f609476b4852482f8ecb24a4d33fd
Issue 7516 - Postblit not called for structs returned from a ternary operator

--


[Issue 2659] Remove the comma operator

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2659

--- Comment #15 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/9232e99814037727a42e0b1a646a908bde68ed40
Issue 2659 - Deprecate using the result of comma expression

--


[Issue 14743] ICE in TemplateInstance::needsTypeInference() with template forward reference

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14743

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/0f2b76200312f0e099da3655ee9e06d34de44f3d
Issue 14743 - ICE in TemplateInstance::needsTypeInference() with template
forward reference

--


[Issue 15389] extern(C++) forward referencing problem

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15389

--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/0fbec9bdf7d959db71e7b0a9b12d89e44493f340
Issue 15389 - extern(C++) forward referencing problem

--


[Issue 14818] Unhelpful "does not match template overload set" error

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14818

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/3879c2efa369996cc3bc12fc29d4655036f85796
Issue 14818 - Unhelpful "does not match template overload set" error

--


[Issue 12954] deprecated doesn't work with concatenated strings or anything else but a string literal

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/58b7f1c1e16c2572799d920d236d4ff52551c2de
Issue 12954 - Deprecated only works with string literals

--


[Issue 17074] extern(C++, keyword) crashes compiler

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17074

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/c8f1a623fe76ee302c3dcfcfae162a1037c18cf4
Issue 17074: extern(C++, keyword) crashes compiler

--


[Issue 16747] [Reg 2.072] Cannot have stack allocated classes in @safe code

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16747

--- Comment #10 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a96b39b3e871b325fa6fb019b74c720303de716f
Issue 16747 - Cannot have stack allocated classes in @safe code

--


[Issue 15607] [ICE] CTFE internal error: bad compare on accessing default-initialized static immutable array of array

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15607

--- Comment #11 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a2c639bc69b16aa2be06ab466ad6fabcb7956b27
Backport fix for DMD Issue 15607

--


[Issue 11717] CTFE: [ICE] non-constant value with array and vector ops.

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11717

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/5ab26bb7e0dfc0039e80a9bc9d4120af15e18a2f
Add error message for Issue 11717

--


[Issue 14532] switch block allows creating uninitialized variables

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14532

--- Comment #8 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/38c168303afcdf641877e31122106b2276ca642b
Issue 14532 - switch block allows creating uninitialized variables

--


[Issue 16474] CTFE pow

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16474

--- Comment #3 from Manu  ---
Come on... surely it's reasonable to expect all builtin operators should work
at ctfe!! ;)

--


[Issue 17711] std.array.byPair should be usable with const AA

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17711

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 17711] std.array.byPair should be usable with const AA

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17711

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/0c0aed8662dcd3579de4521c98ce0facbfd774fe
Fix issue 17711: std.array.byPair ought to work with const AA's.

https://github.com/dlang/phobos/commit/e4e858bf50e01f7bc9566b6fd56d9e3ff867d1a8
Merge pull request #5668 from quickfur/issue17711

Fix issue 17711: std.array.byPair ought to work with const AA's.
merged-on-behalf-of: Petar Kirov 

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #7 from Walter Bright  ---
https://github.com/dlang/dmd/pull/7056

--


[Issue 17632] [REG 2.075-b1] opBinary and delegate code generation

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17632

--- Comment #3 from Walter Bright  ---
I cannot reproduce this. What switches are used?

Anyhow, it appears to be the same issue as 17622.

--


[Issue 17632] [REG 2.075-b1] opBinary and delegate code generation

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17632

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=17622

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=17632

--


[Issue 17632] [REG 2.075-b1] opBinary and delegate code generation

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17632

--- Comment #4 from briancsch...@gmail.com ---
I don't have to pass any switches to cause this behavior:

$ which rdmd
/home/brian/.dvm/compilers/dmd-2.075.0/linux/bin/rdmd
$ rdmd test.d
Segmentation fault

Running on 64-bit Linux.

--


[Issue 17665] Win64 atomicLoad for T[] cannot be cast from size_t[2]

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17665

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 17665] Win64 atomicLoad for T[] cannot be cast from size_t[2]

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17665

--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/1ab473d1314960dfb6a4732fd55218ac2095a663
Fix issue 17665

https://github.com/dlang/druntime/commit/03b70be5bf3c76a9e7461d0e20afbbec030c5308
Merge pull request #1884 from rikkimax/rikkimax-patch-17665

Fixes issue #17665
merged-on-behalf-of: Petar Kirov 

--


[Issue 16474] CTFE pow

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16474

--- Comment #4 from uplink.co...@googlemail.com ---
newCTFE is eventually going to fix that.
and other compile-time floating-point issues as well.

--


[Issue 17192] ParameterDefaults fails when parameter is called "i"

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17192

ag0ae...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||ag0ae...@gmail.com
   Assignee|nob...@puremagic.com|ag0ae...@gmail.com
Summary|ParameterDefaults fails for |ParameterDefaults fails
   |member function |when parameter is called
   ||"i"

--- Comment #1 from ag0ae...@gmail.com ---
It fails because ParameterDefaults uses the name "i" internally, but it gets
hijacked by the parameter.

https://github.com/dlang/phobos/pull/5671

--


[Issue 16474] CTFE pow

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16474

--- Comment #5 from Manu  ---
True, but that could still be a long way off, and this should have already been
working like, 10 years ago... it'd be good to have a default fix in existing
ctfe code.

--


[Issue 14793] net.curl.download https broken - windows

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14793

Yury Korchemkin  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||yuri.korchyom...@gmail.com
 Resolution|INVALID |---

--- Comment #3 from Yury Korchemkin  ---
Reproes with DMD32 D Compiler v2.073.0

Minimal repro:

import std.stdio;
import std.net.curl;

void main()
{   
download("https://avatars1.githubusercontent.com/u/8682279?v=4&s=40";,
"avatar.png");
}

Expected: file downloaded.
Actual: error with stacktrace:

object.Error@(0): Access Violation

0x62E8E685
0x004CA2B0 in core.sync.mutex.Mutex std.concurrency.initOnceLock().lock
0x100124A5
0x00403D51 in void
std.net.curl.download!(std.net.curl.AutoProtocol).download(const(char)[],
immutable(char)[], std.net.curl.AutoProtocol) at
C:\ProgramData\chocolatey\lib\dmd\tools\dmd2\windows\bin\..\..\src\phobos\std\net\curl.d(414)
0x00402035 in _Dmain at D:\tmp\D\curl_bug\source\app.d(6)
0x004050B3 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv
0x00405077 in void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll()
0x00404F78 in _d_run_main
0x00404D68 in main at D:\tmp\D\curl_bug\source\app.d(7)
0x00472291 in mainCRTStartup
0x76E462C4 in BaseThreadInitThunk
0x77830FD9 in RtlSubscribeWnfStateChangeNotification
0x77830FA4 in RtlSubscribeWnfStateChangeNotification

--


[Issue 14793] net.curl.download https broken - windows

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14793

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Vladimir Panteleev  ---


*** This issue has been marked as a duplicate of issue 17622 ***

--


[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17622

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||kdan...@gmail.com

--- Comment #8 from Vladimir Panteleev  ---
*** Issue 14793 has been marked as a duplicate of this issue. ***

--


[Issue 14793] net.curl.download https broken - windows

2017-08-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14793

Vladimir Panteleev  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |---

--- Comment #5 from Vladimir Panteleev  ---
Actually the timeline doesn't match up with 17622's.

(In reply to Yury Korchemkin from comment #3)
> Reproes with DMD32 D Compiler v2.073.0

Can't reproduce here with that version.

Try 2.075.0?

--