[Issue 8891] New: non-static opCall runs in initialization incorrectly

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8891 Summary: non-static opCall runs in initialization incorrectly Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid Severity: n

[Issue 8890] std.algorithm.commonPrefix does not handle unicode correctly

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8890 --- Comment #1 from Jonathan M Davis 2012-10-24 22:37:26 PDT --- https://github.com/D-Programming-Language/phobos/pull/889 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail beca

[Issue 8890] New: std.algorithm.commonPrefix does not handle unicode correctly

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8890 Summary: std.algorithm.commonPrefix does not handle unicode correctly Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity:

[Issue 8889] New: [2.061 beta][64-bit] Assertion Failure argtypes.c

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8889 Summary: [2.061 beta][64-bit] Assertion Failure argtypes.c Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity: major Priority: P2

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 Andrej Mitrovic changed: What|Removed |Added Attachment #1154|0 |1 is obsolete|

[Issue 8888] New: char enums inside functions

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id= Summary: char enums inside functions Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priorit

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #16 from bearophile_h...@eml.cc 2012-10-24 18:38:41 PDT --- (In reply to comment #15) > Ah it took me a while to realize you were looking for CTFE ability. Sorry for not being more clear. Another significant test case, this is use

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 Andrej Mitrovic changed: What|Removed |Added Attachment #1153|0 |1 is obsolete|

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #14 from bearophile_h...@eml.cc 2012-10-24 17:43:17 PDT --- (In reply to comment #13) > > Is this supported? > > enum En[][] m1 = to!(En[][])([[10, 30], [30, 10]]); > > Yes. Then I suggest to add it to your tests, because it's not

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #13 from Andrej Mitrovic 2012-10-24 17:32:54 PDT --- Created an attachment (id=1153) d (In reply to comment #12) > Is this supported? > enum En[][] m1 = to!(En[][])([[10, 30], [30, 10]]); Yes. -- Configure issuemail: http://d.p

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #12 from bearophile_h...@eml.cc 2012-10-24 17:20:39 PDT --- (In reply to comment #11) > http://dpaste.dzfl.pl/f4e35e84 Please attach this in Bugzilla :-) > More tests welcome! Is this supported? enum En[][] m1 = to!(En[][])([[10

[Issue 3413] DMD makefiles needs improvements

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3413 --- Comment #5 from Alex R�nne Petersen 2012-10-24 23:23:26 CEST --- I'm fairly certain there is no other way. I've been involved with some C projects where the build systems were maintained in very rigorous ways, and even they couldn't find a

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

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3789 jens.k.muel...@gmx.de changed: What|Removed |Added CC||jens.k.muel...@gmx.de --- Comme

[Issue 8887] New: static arrays should not be passed by value in extern C/C++ functions

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8887 Summary: static arrays should not be passed by value in extern C/C++ functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

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

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3789 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

[Issue 8879] std.range function should to be usable in a pure (and sometimes nothrow) situations

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8879 bioinfornatics changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #12 from bearophile_h...@eml.cc 2012-10-24 11:17:33 PDT --- (In reply to comment #10) > > test.d(1): Error: module bitmanips cannot be found. > > Ok, I'll implement a pull and see what others think about it. Or: test.d(1): Error:

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #13 from Andrej Mitrovic 2012-10-24 11:19:11 PDT --- (In reply to comment #11) > (In reply to comment #10) > > > Ok, I'll implement a pull and see what others think about it. > > Thank you. I think we can do even better: import

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8882 bioinfornatics changed: What|Removed |Added CC||bioinfornat...@gmail.com --- Comment

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #11 from bearophile_h...@eml.cc 2012-10-24 11:10:27 PDT --- (In reply to comment #10) > Ok, I'll implement a pull and see what others think about it. Thank you. > It would make it much easier to debug such cases if the error span

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #11 from Andrej Mitrovic 2012-10-24 10:58:10 PDT --- http://dpaste.dzfl.pl/f4e35e84 More tests welcome! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: -

[Issue 8886] [CTFE] a check failure of memory block inclusion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8886 --- Comment #2 from Don 2012-10-24 10:57:37 PDT --- To clarify: When I say "it won't work in general", the problem is things like: a < b && c < d && e > f If a and b are pointers to the same memory block, then a < b is OK, and this expression

[Issue 8886] [CTFE] a check failure of memory block inclusion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8886 Don changed: What|Removed |Added Keywords||diagnostic CC|

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #10 from bearophile_h...@eml.cc 2012-10-24 10:36:19 PDT --- One more test case: enum En[][] m1 = to!(En[][])([[10, 30], [30, 10]]); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are rece

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #9 from Andrej Mitrovic 2012-10-24 10:31:14 PDT --- (In reply to comment #7) > One more test case: > En[][] m1 = to!(En[][])([[10, 30], [30, 10]]); Ah, haven't thought about arrays. Will fix.. > Have you compiled your code with "

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #8 from Andrej Mitrovic 2012-10-24 10:28:51 PDT --- (In reply to comment #6) > (In reply to comment #4) > > > I think customization like > > this might be friendlier than just rejecting conversion. > > It also makes the implement

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #7 from bearophile_h...@eml.cc 2012-10-24 10:26:36 PDT --- (In reply to comment #5) > Ok here's a first implementation, let me know if it can be improved before a > pull request is made (the docs will be improved too): One more test

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #10 from Andrej Mitrovic 2012-10-24 10:21:54 PDT --- (In reply to comment #9) > test.d(1): Error: module bitmanips cannot be found. Ok, I'll implement a pull and see what others think about it. > (Unrelated: do you know why D err

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 bearophile_h...@eml.cc changed: What|Removed |Added AssignedTo|andrej.mitrov...@gmail.com |nob...@puremagic.com --- Comme

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #9 from bearophile_h...@eml.cc 2012-10-24 10:13:27 PDT --- (In reply to comment #8) > However what if the module is not in any package? Example: > > import bitmanips; void main() { } > > => test.d(1): Error: module bitmanips is in

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 Andrej Mitrovic changed: What|Removed |Added AssignedTo|nob...@puremagic.com|andrej.mitrov...@gmail.com --- Comme

[Issue 8886] New: [CTFE] a check failure of memory block inclusion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8886 Summary: [CTFE] a check failure of memory block inclusion Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: CTFE Severity: normal

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 --- Comment #4 from Andrej Mitrovic 2012-10-24 08:02:31 PDT --- Or alternatively require an additional alias parameter for the comparison function in case of floats? E.g. enum EF : float { C = 4.9 } float f = 4.9; static bool com

[Issue 8143] Safe std.conv.to enum conversion

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8143 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- Com

[Issue 3413] DMD makefiles needs improvements

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3413 --- Comment #4 from Leandro Lucarella 2012-10-24 07:50:49 PDT --- (In reply to comment #3) > OK, I guess we can close this then. Thanks! Well, I'm not sure there are no alternatives in for the non-gcc platforms. Do you? -- Configure issuema

[Issue 8885] New: Passing super class' private method as delegate allowed

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8885 Summary: Passing super class' private method as delegate allowed Product: D Version: D1 & D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal

[Issue 3413] DMD makefiles needs improvements

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3413 Alex R�nne Petersen changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 3413] DMD makefiles needs improvements

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3413 --- Comment #2 from Leandro Lucarella 2012-10-24 07:38:58 PDT --- (In reply to comment #1) > Is this patch still relevant today? The patch, I don't think it will apply, is too old. I still think the makefile could use some improvements though

[Issue 7019] implicit constructors are inconsistently allowed

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7019 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #9 from Kenji Hara 2012

[Issue 8884] std.array RefAppender do not works with .ptr

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8884 bioinfornatics changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #8 from Andrej Mitrovic 2012-10-24 06:48:43 PDT --- (In reply to comment #7) > test.d(1): Error: module bitmanips is in file 'std\bitmanips.d' which cannot > be > read > The Case#1 probably needs a better error message. Yes, it c

[Issue 2516] DDoc omits static on templates

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2516 Nick Treleaven changed: What|Removed |Added CC||ntrel-pub...@yahoo.co.uk --- Comment

[Issue 8884] New: std.array RefAppender do not works with .ptr

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8884 Summary: std.array RefAppender do not works with .ptr Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Compon

[Issue 4563] [module system] Error messages for missing package or missing name

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4563 --- Comment #7 from bearophile_h...@eml.cc 2012-10-24 05:09:04 PDT --- (In reply to comment #6) > This is the only test-case left to fix in this Issue (the others seem to be > fixed). This is the current situation: // Case#1