[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #22 from Rainer Schuetze r.sagita...@gmx.de 2013-08-29 23:40:47 PDT --- (In reply to comment #19) - do we want a export all public symbols feature (discussion on the newsgroup brought up that c++ is trying to move away from

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #23 from Martin Nowak c...@dawg.eu 2013-08-29 23:59:07 PDT --- (In reply to comment #22) Do you want to annotate all of phobos and druntime with export to build a shared version? I think we are already in annotation hell with

[Issue 10924] New: covariant attribute inference for functions

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10924 Summary: covariant attribute inference for functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 7213] @disable should be useable to deactivate unittests

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7213 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com ---

[Issue 10925] New: unittests qualified on the right hand side fail

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10925 Summary: unittests qualified on the right hand side fail Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 6381] math.floor, math.ceil are not pure functions.

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6381 --- Comment #3 from github-bugzi...@puremagic.com 2013-08-30 00:26:38 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #24 from Benjamin Thaut c...@benjamin-thaut.de 2013-08-30 00:32:50 PDT --- I don't think the last point is too critical because exporting data is rarely done and rather a bad practice. Also this only applies to the API boundary

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #25 from Benjamin Thaut c...@benjamin-thaut.de 2013-08-30 00:45:28 PDT --- That wouldn't work in the case where you create a DLL that both exports symbols and imports symbols from another DLL. It would work. Because the

[Issue 10919] typeof should accept types

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10919 --- Comment #1 from Don clugd...@yahoo.com.au 2013-08-30 00:53:32 PDT --- See bug 1341. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10801] std.regex: support for lookbehind in ctRegex

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10801 --- Comment #4 from yebblies yebbl...@gmail.com 2013-08-30 18:13:02 EST --- (In reply to comment #2) @yebblies at Facebook are experimenting with D regex performance on a few workloads. Interesting. You could also add the 'industry'

[Issue 8795] mixing in switch or interface; makes dmd segfault

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8795 --- Comment #3 from github-bugzi...@puremagic.com 2013-08-30 02:42:22 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 8795] mixing in switch or interface; makes dmd segfault

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8795 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10434] Don't use Random as template parameter name in std.random (or anywhere else)

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10434 --- Comment #4 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net 2013-08-30 03:02:56 PDT --- (In reply to comment #2) +1 for RandGen, self-documenting and doesn't clash with existing symbol. Rng is a bit obscure for those not in

[Issue 10572] Test suite for std.random

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10572 Joseph Rushton Wakeling joseph.wakel...@webdrake.net changed: What|Removed |Added Severity|normal

[Issue 5249] Strongly pure random generator

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5249 Joseph Rushton Wakeling joseph.wakel...@webdrake.net changed: What|Removed |Added CC|

[Issue 6023] std.random.uniform and std.bigint.BigInt compilation error

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6023 Joseph Rushton Wakeling joseph.wakel...@webdrake.net changed: What|Removed |Added CC|

[Issue 10926] New: Const problem with ternary operator append

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10926 Summary: Const problem with ternary operator append Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #26 from Martin Nowak c...@dawg.eu 2013-08-30 05:11:45 PDT --- (In reply to comment #24) I don't think the last point is too critical because exporting data is rarely done and rather a bad practice. Also this only applies

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #27 from Martin Nowak c...@dawg.eu 2013-08-30 05:26:36 PDT --- And the metadata of exported UDTs (vtable, rtti) and moduleinfos for modules with exported members. Also note that because Windows doesn't support symbol interposition

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #28 from Martin Nowak c...@dawg.eu 2013-08-30 06:07:52 PDT --- (In reply to comment #24) I fully agree here. We might still want to provide a -exportall switch for convenience. A compiler switch makes sense for the case where you

[Issue 10927] New: Power of complex number causes an internal error

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10927 Summary: Power of complex number causes an internal error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7213] @disable should be useable to deactivate unittests

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7213 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-08-30 06:36:32 PDT --- (In reply to comment #3) This has some advantages over version(none): - the unittest is still compiled, just not executed - a test runner could

[Issue 10921] scoped returns a reference to an uninitialized object

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10921 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-08-30 06:42:16 PDT --- (In reply to comment #3) We should disable the implicit conversion from Scoped to Point. Maybe.. but I have a feeling this would break code. E.g.:

[Issue 10898] LockingTextWriter segfaults in .init state

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10898 monarchdo...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 10928] New: Fails to create closures that reference structs with dtor

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10928 Summary: Fails to create closures that reference structs with dtor Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: blocker

[Issue 10315] Conditional triple operator unifies a char and a dchar as a unit

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10315 --- Comment #1 from bearophile_h...@eml.cc 2013-08-30 07:49:17 PDT --- See also Issue 10926 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10926] Const problem with ternary operator append

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10926 --- Comment #1 from bearophile_h...@eml.cc 2013-08-30 07:49:31 PDT --- See also Issue 10315 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 9816] Export is mostly broken

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9816 --- Comment #30 from Martin Nowak c...@dawg.eu 2013-08-30 08:16:09 PDT --- (In reply to comment #29) The only question remaining is, how big the performance impact is when doing cross DLL calls. When the compiler knows that the function is

[Issue 10928] Fails to create closures that reference structs with dtor

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10928 --- Comment #1 from Dmitry Olshansky dmitry.o...@gmail.com 2013-08-30 07:59:13 PDT --- Error message: d_test.d(10): Error: variable d_test.foo.bar has scoped destruction, cannot build closure -- Configure issuemail:

[Issue 10928] Fails to create closures that reference structs with dtor

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10928 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com ---

[Issue 10928] Fails to create closures that reference structs with dtor

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10928 Joseph Rushton Wakeling joseph.wakel...@webdrake.net changed: What|Removed |Added CC|

[Issue 10687] Refused cast from uint[] to array of uint-based enums at compile-time

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10687 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10687] Refused cast from uint[] to array of uint-based enums at compile-time

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10687 --- Comment #2 from hst...@quickfur.ath.cx 2013-08-30 10:37:35 PDT --- git bisect shows that the offending commit was: 43a6c87194cae799650249b10a4f7c910081d280 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 10555] enumerator can no longer increment beyond maximum of initializer

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10555 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10687] Refused cast from uint[] to array of uint-based enums at compile-time

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10687 --- Comment #3 from hst...@quickfur.ath.cx 2013-08-30 10:40:05 PDT --- Probably a CTFE limitation/bug? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10617] contract with -profile -debug is not nothrow

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10617 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10630] Structs with disabled default construction can't be used as `out` parameters

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10630 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10929] New: [CTFE] Destructor errornously gets called on NRVO-ed structs?

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10929 Summary: [CTFE] Destructor errornously gets called on NRVO-ed structs? Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10682] [ICE](cgcod.c line 1561) with ^^ operator

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10682 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10682] [ICE](cgcod.c line 1561) with ^^ operator

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10682 --- Comment #2 from hst...@quickfur.ath.cx 2013-08-30 12:00:28 PDT --- In fact, all versions of dmd from 2.063.2 up to commit 50a484a60cc3794281a98c51346fc0dfacfc0f24 (Fix Issue 5943 - Power expression optimisation: 2^^unsigned == 1unsigned)

[Issue 10930] New: std.array.replace cannot simple replace an element in array

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10930 Summary: std.array.replace cannot simple replace an element in array Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10931] New: Missed `const` on argument types in etc.c.zlib

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10931 Summary: Missed `const` on argument types in etc.c.zlib Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10795] Bad return type of ParameterIdentifierTuple if there is no arguments

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10795 Temtaime temta...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3096] EnumBaseType

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3096 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 3096] EnumBaseType

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3096 --- Comment #6 from hst...@quickfur.ath.cx 2013-08-30 14:07:30 PDT --- Sigh, let's try that again: issue #10555 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10881] Support %f formatting for a std.complex.complex

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10881 --- Comment #10 from github-bugzi...@puremagic.com 2013-08-30 14:09:34 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9788] -profile doesn't work if exceptions are thrown in the running program

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9788 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10115] More @disabled holes

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10115 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 3789] [TDPL] Structs members that require non-bitwise comparison not correctly compared

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3789 --- Comment #37 from hst...@quickfur.ath.cx 2013-08-30 14:03:50 PDT --- The fix introduced a regression issue #10401. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 10682] [ICE](cgcod.c line 1561) with ^^ operator

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10682 --- Comment #4 from hst...@quickfur.ath.cx 2013-08-30 13:48:35 PDT --- OK, must be a Windows-specific problem then. Sorry, can't help you there (don't have a Windows dev machine). :-( -- Configure issuemail:

[Issue 10932] Useless temporaries and other absurd in inlined code

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10932 --- Comment #1 from Dmitry Olshansky dmitry.o...@gmail.com 2013-08-30 13:58:54 PDT --- See that read/write of arg_0 on stack ... Should be var_8, of course. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 10932] New: Useless temporaries and other absurd in inlined code

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10932 Summary: Useless temporaries and other absurd in inlined code Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10682] [ICE](cgcod.c line 1561) with ^^ operator

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10682 --- Comment #3 from bearophile_h...@eml.cc 2013-08-30 13:36:04 PDT --- (In reply to comment #1) Seems to have been fixed in git HEAD (46e495b), tested on Linux/64bit. Could you verify if it's also fixed on Windows? I see the same error

[Issue 10687] Refused cast from uint[] to array of uint-based enums at compile-time

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10687 --- Comment #4 from hst...@quickfur.ath.cx 2013-08-30 14:27:23 PDT --- The offending commit was introduced by https://github.com/D-Programming-Language/dmd/pull/2136 -- Configure issuemail:

[Issue 7511] attribute inference should work for template functions

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7511 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10881] Support %f formatting for a std.complex.complex

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10881 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 10927] Power of complex number causes an internal error

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10927 --- Comment #1 from hst...@quickfur.ath.cx 2013-08-30 15:34:55 PDT --- Built-in complex numbers are deprecated; instead, use std.complex: import std.complex; import std.stdio; void main() { writeln(complex(1,2)^^3); // prints -11-2i

[Issue 10819] Invalid comparison for equality of lambda functions

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10819 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 10919] typeof should accept types

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10919 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #2

[Issue 10894] Numerous DDoc parameter warnings in druntime (as found by 10236)

2013-08-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10894 Lionello Lunesu lio+bugzi...@lunesu.com changed: What|Removed |Added Keywords||pull ---