[Issue 10518] New: Static SIMD vector constants cannot be defined.

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10518 Summary: Static SIMD vector constants cannot be defined. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal

[Issue 10517] New: readln(Char)(Char[] buf) accepts non-mutable buffers

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10517 Summary: readln(Char)(Char[] buf) accepts non-mutable buffers Product: D Version: D1 Platform: All OS/Version: All Status: ASSIGNED Keywords: accepts-invalid Sever

[Issue 6169] [CTFE] pure functions cannot compute constants using functions not marked as pure

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6169 yebblies changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #13

[Issue 10506] Purity should not be checked in a mixin statement

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10506 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Component|Phobo

[Issue 6169] [CTFE] pure functions cannot compute constants using functions not marked as pure

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6169 yebblies changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 10516] Array length is not checked when array is a manifest constant

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10516 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 10516] New: Array length is not checked when array is a manifest constant

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10516 Summary: Array length is not checked when array is a manifest constant Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 10491] Type inference for function arguments with default value

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10491 --- Comment #4 from bearophile_h...@eml.cc 2013-06-30 17:07:20 PDT --- (In reply to comment #1) > https://github.com/D-Programming-Language/dmd/pull/2270 I think a decision should be taken. What do you think about this issue Henning Pohl? --

[Issue 7227] [] syntax for empty associative array too?

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7227 --- Comment #3 from bearophile_h...@eml.cc 2013-06-30 17:03:20 PDT --- (In reply to comment #2) > https://github.com/D-Programming-Language/dmd/pull/2284 This patch has chosen the [] syntax over the [:] syntax. -- Configure issuemail: http://

[Issue 10515] New: -shared -O -release -fPIC -m32 generates a broken library

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10515 Summary: -shared -O -release -fPIC -m32 generates a broken library Product: D Version: D2 Platform: x86 OS/Version: All Status: NEW Keywords: wrong-code

[Issue 4923] immutable module variables are modifiable in non-shared module constructors

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4923 --- Comment #5 from github-bugzi...@puremagic.com 2013-06-30 15:58:06 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/f5ed82d638b373efb6c2f0c77d64259df9

[Issue 10514] New: Constructor declaration grammar is incorrect

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10514 Summary: Constructor declaration grammar is incorrect Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7227] [] syntax for empty associative array too?

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7227 Henning Pohl changed: What|Removed |Added Keywords||pull CC|

[Issue 9967] ParameterIdentifierTuple broken for setters

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9967 yazan.dab...@gmail.com changed: What|Removed |Added CC||yazan.dab...@gmail.com --- Com

[Issue 317] Need full translation of the Windows API headers

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=317 --- Comment #7 from Stewart Gordon 2013-06-30 12:02:25 PDT --- (In reply to comment #6) > Ah good, will do. > > What's currently stopping this bug from being fixed? Just a shortage of people who have both the time and the motivation. Which ad

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 --- Comment #13 from monarchdo...@gmail.com 2013-06-30 11:56:57 PDT --- (In reply to comment #12) > (In reply to comment #4) > > I disagree with this change, this is extremely dangerous behavior when > > interfacing with C. Take a look at the f

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 --- Comment #12 from monarchdo...@gmail.com 2013-06-30 11:52:04 PDT --- (In reply to comment #4) > I disagree with this change, this is extremely dangerous behavior when > interfacing with C. Take a look at the following: > > - > extern(C)

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 --- Comment #11 from monarchdo...@gmail.com 2013-06-30 11:51:09 PDT --- (In reply to comment #10) > I want both to go to return type. Prefix qualifier -> return type. Postfix > qualifier -> function type. Typ? "Both", then you state two differ

[Issue 10512] Reinterpret-casting struct fields as another struct should be @safe

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10512 Maxim Fomin changed: What|Removed |Added CC||ma...@maxim-fomin.ru --- Comment #1 fro

[Issue 10513] pure overriding method cannot call impure out contract of base class

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10513 Henning Pohl changed: What|Removed |Added Keywords||pull, rejects-valid --- Comment #1 fro

[Issue 10513] New: pure overriding method cannot call impure out contract of base class

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10513 Summary: pure overriding method cannot call impure out contract of base class Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 --- Comment #10 from Dicebot 2013-06-30 11:09:58 PDT --- I want both to go to return type. Prefix qualifier -> return type. Postfix qualifier -> function type. If qualifier is not applicable to return type, it falls through to function type (a

[Issue 10512] New: Reinterpret-casting struct fields as another struct should be @safe

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10512 Summary: Reinterpret-casting struct fields as another struct should be @safe Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Se

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

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

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 --- Comment #8 from Andrej Mitrovic 2013-06-30 10:43:09 PDT --- (In reply to comment #6) > This is a very natural style to type in, especially for those that come from > C/C++. Well not entirely, since 'const void *' in D and C++ mean differ

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 Dicebot changed: What|Removed |Added CC||m.stras...@gmail.com --- Comment #6 from Di

[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10150 --- Comment #7 from Dicebot 2013-06-30 10:37:35 PDT --- I actually see no rationale behind this change because enhancement descriptions mentions only function returning "void". -- Configure issuemail: http://d.puremagic.com/issues/userprefs.

[Issue 10482] Regression (2.063): Compiler allows constant global functions

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10482 --- Comment #6 from Dicebot 2013-06-30 10:31:52 PDT --- Yeah, have figure out that it is actually no-op in prefix mode now. Still not what title claims, but is.. inconvenient. Moving in that thread. -- Configure issuemail: http://d.puremagic

[Issue 8687] Variadic templates do not work properly with default arguments

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8687 Andrej Mitrovic changed: What|Removed |Added Keywords||ice --- Comment #2 from Andrej Mitro

[Issue 10482] Regression (2.063): Compiler allows constant global functions

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10482 --- Comment #4 from Andrej Mitrovic 2013-06-30 09:56:33 PDT --- (In reply to comment #3) > IMHO this is invalid / won't fix. See my comments: http://d.puremagic.com/issues/show_bug.cgi?id=10150#c4 http://d.puremagic.com/issues/show_bug.cgi?i

[Issue 10482] Regression (2.063): Compiler allows constant global functions

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10482 --- Comment #5 from Andrej Mitrovic 2013-06-30 09:57:38 PDT --- Sorry for the duplicate paste of comment 4. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10431] ICE(DMD 2.063) in struct.c:741

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10431 Tim changed: What|Removed |Added CC||tim.dl...@t-online.de --- Comment #2 from Tim

[Issue 10482] Regression (2.063): Compiler allows constant global functions

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10482 Dicebot changed: What|Removed |Added CC||m.stras...@gmail.com --- Comment #3 from Di

[Issue 10482] Regression (2.063): Compiler allows constant global functions

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10482 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Co

[Issue 10511] Unhelpful error messages with a const opDispatch

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10511 --- Comment #3 from bearophile_h...@eml.cc 2013-06-30 08:58:03 PDT --- (In reply to comment #2) > I think it's a regression (maybe already reported in Bugzillza), It's Issue 10482 -- Configure issuemail: http://d.puremagic.com/issues/userpr

[Issue 10511] Unhelpful error messages with a const opDispatch

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10511 --- Comment #2 from bearophile_h...@eml.cc 2013-06-30 08:56:06 PDT --- (In reply to comment #1) > Why static const methods are allowed in the very first place? Is there a legit > use case? I think it's a regression (maybe already reported in B

[Issue 10511] Unhelpful error messages with a const opDispatch

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10511 Dicebot changed: What|Removed |Added CC||m.stras...@gmail.com --- Comment #1 from Di

[Issue 6549] Implement contracts without implementation.

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6549 Henning Pohl changed: What|Removed |Added Keywords||pull CC|

[Issue 10511] New: Unhelpful error messages with a const opDispatch

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10511 Summary: Unhelpful error messages with a const opDispatch Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: norma

[Issue 9506] When using alias this, writeln modifies its argument

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9506 Maxim Fomin changed: What|Removed |Added CC||ma...@maxim-fomin.ru Component|D

[Issue 10505] anonymous enum members cannot have different types

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10505 --- Comment #4 from github-bugzi...@puremagic.com 2013-06-30 07:16:18 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/cf9547c603cf0476844bc5d800e4172a267558

[Issue 10505] anonymous enum members cannot have different types

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10505 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 10510] New: enforce can't take an extern(C) function to call

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10510 Summary: enforce can't take an extern(C) function to call Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 C

[Issue 10503] Octal enums don't work anymore

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10503 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 10505] anonymous enum members cannot have different types

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10505 Kenji Hara changed: What|Removed |Added Severity|normal |regression --- Comment #3 from Kenji Har

[Issue 10504] Tuple error: no property 'offsetof' for type 'int'

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10504 --- Comment #8 from Kenji Hara 2013-06-30 06:03:50 PDT --- (In reply to comment #7) > (In reply to comment #6) > > Lack of fixing issue 10180? > > Possibly... but that fixed isn't in 2.063.x Yes. But, at the same time, 2.063.x Phobos does no

[Issue 5219] @noheap annotation

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5219 Denis Shelomovskij changed: What|Removed |Added CC||verylonglogin@gmail.com --- C

[Issue 10509] New: Closure is allocated even if it may be not needed

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10509 Summary: Closure is allocated even if it may be not needed Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: critical

[Issue 9506] When using alias this, writeln modifies its argument

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9506 --- Comment #5 from yebblies 2013-06-30 22:40:45 EST --- Gah, we missed our window. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10506] Purity should not be checked in a mixin statement

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10506 --- Comment #2 from Andrej Mitrovic 2013-06-30 05:25:04 PDT --- (In reply to comment #1) > That was the std.array.join issue. It uses std.array.Appender, but Appender > had > impure operation until very recent days. Here's the thing though,

[Issue 9506] When using alias this, writeln modifies its argument

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9506 --- Comment #4 from Andrej Mitrovic 2013-06-30 05:30:39 PDT --- I've tested this across several compiler versions on win32: 2.058: can't compile due to template instance error 2.059: broken: [1, 2] [ ] 2.060: broken: [1, 2] [ ] 2.061: ok:

[Issue 314] [module] Static, renamed, and selective imports are always public

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

[Issue 10504] Tuple error: no property 'offsetof' for type 'int'

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10504 --- Comment #7 from Iain Buclaw 2013-06-30 04:41:23 PDT --- (In reply to comment #6) > Lack of fixing issue 10180? Possibly... but that fixed isn't in 2.063.x -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 10147] Make -w identical to -wi and deprecate it

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10147 --- Comment #13 from Jonathan M Davis 2013-06-30 03:27:18 PDT --- I would _love_ it if we got rid of warnings completely, and I know that Walter has similar feelings. I believe that we have them primarily because Walter got bullied into it, a

[Issue 10498] `__traits(compiles, ...)` affect program behaviour

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10498 --- Comment #3 from Kenji Hara 2013-06-30 03:28:36 PDT --- (In reply to comment #2) > Compiler fix for the first case. > https://github.com/D-Programming-Language/dmd/pull/2280 > > I'm not sure the second case is really a regression. If not,

[Issue 10503] Octal enums don't work anymore

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10503 --- Comment #8 from github-bugzi...@puremagic.com 2013-06-30 03:28:34 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f88c75f17dcc25ace5d8a52a4a9f5e6d301ad8

[Issue 10457] _d_toObject might fail with shared libraries

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10457 --- Comment #1 from github-bugzi...@puremagic.com 2013-06-30 03:24:49 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/0c4d2ed412f2062e7821249d1fb3

[Issue 10457] _d_toObject might fail with shared libraries

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10457 Alex R�nne Petersen changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 10506] Purity should not be checked in a mixin statement

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10506 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Component|DMD

[Issue 10498] `__traits(compiles, ...)` affect program behaviour

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10498 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #2 from Kenji Hara 201

[Issue 10504] Tuple error: no property 'offsetof' for type 'int'

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10504 --- Comment #6 from Kenji Hara 2013-06-30 01:27:42 PDT --- Lack of fixing issue 10180? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 10503] Octal enums don't work anymore

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10503 --- Comment #7 from Kenji Hara 2013-06-30 01:07:00 PDT --- (In reply to comment #6) > https://github.com/D-Programming-Language/dmd/pull/2277 > > Kind of dirty fix, but it will do it for now. I opened another fix that I think clean. https://

[Issue 10505] anonymous enum members cannot have different types

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10505 --- Comment #2 from Kenji Hara 2013-06-30 01:09:07 PDT --- I cannot think this is valid. What part of the spec justify this? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail be

[Issue 10147] Make -w identical to -wi and deprecate it

2013-06-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10147 Dicebot changed: What|Removed |Added CC||m.stras...@gmail.com --- Comment #12 from D

[Issue 10147] Make -w identical to -wi and deprecate it

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