[Issue 7432] DMD allows variables to be declared as pure

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7432 --- Comment #16 from Jonathan M Davis jmdavisp...@gmx.com 2013-08-18 22:59:59 PDT --- Perhaps allow to apply storage classes to variables in block declarations like attribute: or attribute { } and ban them in single variable declarations?

[Issue 7432] DMD allows variables to be declared as pure

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7432 --- Comment #17 from Stewart Gordon s...@iname.com 2013-08-18 23:05:47 PDT --- (In reply to comment #13) You're talking about what the compiler actually does, which is a different matter from what the spec indicates it should do.

[Issue 6791] std.algorithm.splitter random indexes utf strings

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

[Issue 7432] DMD allows variables to be declared as pure

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7432 --- Comment #18 from Jonathan M Davis jmdavisp...@gmx.com 2013-08-18 23:30:45 PDT --- What you're basically saying here is that the language is _defined_ by the compiler, and consequently the compiler has no bugs. No, I'm not saying that

[Issue 10847] uninitializedArray accepts arguments which make it fail internally

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

[Issue 10848] Compiler should always try to inlining a direct lambda call

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10848 Manu turkey...@gmail.com changed: What|Removed |Added CC||turkey...@gmail.com ---

[Issue 10844] Importing package as module fails with nested packages

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10844 --- Comment #2 from Robik szad...@gmail.com 2013-08-19 01:56:46 PDT --- (In reply to comment #1) Which OS + compiler version (and commit if git-head) are you using? I can't recreate this with a5c9b9ae4c25aea71153f162ed7026f561061e28 on

[Issue 10729] Some exception symbols undefined

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10729 --- Comment #13 from Andre Tampubolon an...@lc.vlsm.org 2013-08-19 02:27:29 PDT --- (In reply to comment #12) One way to test the issue is to compile dmd, druntime, phobos and hello object file in problematic environment and attach them

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 --- Comment #5 from Don clugd...@yahoo.com.au 2013-08-19 02:37:33 PDT --- (In reply to comment #4) (In reply to comment #3) It's basically the same as issue 10266. Issue 10266 additionally requests allowing reinterpret-casts between T*

[Issue 10729] Some exception symbols undefined

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10729 --- Comment #14 from Maxim Fomin ma...@maxim-fomin.ru 2013-08-19 02:40:21 PDT --- (In reply to comment #13) (In reply to comment #12) One way to test the issue is to compile dmd, druntime, phobos and hello object file in problematic

[Issue 10850] New: Inout substituted incorrectly for delegates in inout function signature

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10850 Summary: Inout substituted incorrectly for delegates in inout function signature Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 10844] Importing package as module fails with nested packages

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10844 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10850] Inout substituted incorrectly for delegates/fptrs in inout function signature

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10850 timon.g...@gmx.ch changed: What|Removed |Added Summary|Inout substituted |Inout substituted

[Issue 10758] Unsound type checking for inout.

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10758 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 10851] New: Stack trace missing for null object access in module constructor

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10851 Summary: Stack trace missing for null object access in module constructor Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10852] New: function wrongly inferred pure in embeded function with function cast

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10852 Summary: function wrongly inferred pure in embeded function with function cast Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 --- Comment #6 from timon.g...@gmx.ch 2013-08-19 03:25:14 PDT --- (In reply to comment #5) (In reply to comment #4) (In reply to comment #3) ... The corner cases arise if you still disallow x + 1. My guess is that you're

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 Iain Buclaw ibuc...@ubuntu.com changed: What|Removed |Added CC||ibuc...@ubuntu.com

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 --- Comment #8 from Don clugd...@yahoo.com.au 2013-08-19 04:48:39 PDT --- (In reply to comment #7) (In reply to comment #3) It's basically the same as issue 10266. The corner cases arise if you still disallow x + 1. My guess is that

[Issue 10833] DMD puts mixin's source code in the binary

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10833 Don clugd...@yahoo.com.au changed: What|Removed |Added Severity|critical|enhancement --- Comment

[Issue 10833] DMD puts mixin's source code in the binary

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10833 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 --- Comment #9 from Iain Buclaw ibuc...@ubuntu.com 2013-08-19 05:29:09 PDT --- (In reply to comment #8) (In reply to comment #7) (In reply to comment #3) It's basically the same as issue 10266. The corner cases arise if you still

[Issue 10833] DMD puts mixin's source code in the binary

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10833 --- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-08-19 06:45:42 PDT --- (In reply to comment #4) This should be fixable, but it's not actually a bug. FWIW, it can be a serious issue for closed-source software products,

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 --- Comment #10 from Iain Buclaw ibuc...@ubuntu.com 2013-08-19 07:44:59 PDT --- (In reply to comment #9) I veto any new addition that is x87 specific - or, more accurately endian specific. Remember its: version(BigEndian) short

[Issue 10522] __FILE__ and other special keywords cannot be used with printf

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10522 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10853] New: ClassInfo.find doesn't work for nested classes

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10853 Summary: ClassInfo.find doesn't work for nested classes Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 10522] __FILE__ and other special keywords cannot be used with printf

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10522 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-08-19 08:35:40 PDT --- (In reply to comment #1) Neither can string literals! printf is a c-varargs function, and has no way of knowing you want the implicit conversion

[Issue 10854] New: debug should also bypass safety and nothrow

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10854 Summary: debug should also bypass safety and nothrow Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 10854] debug should also bypass safety and nothrow

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10854 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 10855] New: Missing dmd.conf for FreeBSD in DMD 2.063.2 release

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10855 Summary: Missing dmd.conf for FreeBSD in DMD 2.063.2 release Product: D Version: unspecified Platform: All OS/Version: FreeBSD Status: NEW Severity: normal

[Issue 10763] (x)[0 .. 1] doesn't work in CTFE

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10763 --- Comment #11 from Iain Buclaw ibuc...@ubuntu.com 2013-08-19 10:22:55 PDT --- (In reply to comment #10) So... this might be very well doable, but will have to be *extremely* careful about it. Also, I'm assuming that CTFE is able to get

[Issue 10854] debug should also bypass safety and nothrow

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10854 --- Comment #2 from monarchdo...@gmail.com 2013-08-19 10:40:40 PDT --- (In reply to comment #1) (In reply to comment #0) debug instructions/blocks were allowed to nicely bypass function purity. This allows inserting impure calls for

[Issue 9599] File.byLine doesn't function properly with take

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9599 --- Comment #5 from github-bugzi...@puremagic.com 2013-08-19 10:50:18 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 9599] File.byLine doesn't function properly with take

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

[Issue 10833] DMD puts mixin's source code in the binary

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

[Issue 10854] debug should also bypass safety and nothrow

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10854 --- Comment #3 from bearophile_h...@eml.cc 2013-08-19 13:05:40 PDT --- (In reply to comment #2) Also, I don't think the new pure definitions mean a pure function can be outright optimized out. But I'm unsure. The DMD compiler completely

[Issue 10848] Compiler should always try to inlining a direct lambda call

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10848 --- Comment #2 from hst...@quickfur.ath.cx 2013-08-19 19:38:26 PDT --- It would be nice if this also applied to opApply that basically uses a single loop: class C { int opApply(scope void delegate(ref T iter) dg) {

[Issue 4453] Loop-invariant code motion for pure functions

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

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6256 --- Comment #2 from hst...@quickfur.ath.cx 2013-08-19 20:03:36 PDT --- As for iterating over static arrays, one workaround is to slice it: import std.algorithm, std.range, std.stdio; void main() { uint[4] test = [1,2,3,4];

[Issue 6256] [patch] std.algorithm.map does not support static arrays and has 'length' for narrow strings.

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

[Issue 7049] Multiple scope(failure) blocks don't work in @safe code

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

[Issue 7049] Multiple scope(failure) blocks don't work in @safe code

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7049 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 10848] Compiler should always try to inlining a direct lambda call

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10848 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #3

[Issue 7049] Multiple scope(failure) blocks don't work in @safe code

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7049 --- Comment #4 from hst...@quickfur.ath.cx 2013-08-19 20:33:32 PDT --- https://github.com/D-Programming-Language/dmd/pull/2484 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 10848] Compiler should always try to inlining a direct lambda call

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10848 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2013-08-19 20:47:41 PDT --- (In reply to comment #1) Sounds like a good case for a __forceinline attribute, and then apply it implicitly in this case. This situation could leverage the same

[Issue 10857] New: ICE(glue.c, bugzilla 2962?) or compiles, depending on the files order

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10857 Summary: ICE(glue.c, bugzilla 2962?) or compiles, depending on the files order Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 10848] Compiler should always try to inlining a direct lambda call

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10848 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-08-19 21:02:53 PDT --- (In reply to comment #2) It would be nice if this also applied to opApply that basically uses a single loop: To make expand opApply foreach useful, it would need

[Issue 10857] ICE(glue.c, bugzilla 2962?) or compiles, depending on the files order

2013-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10857 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1