[Issue 4076] Wrong error line number with enum

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4076 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3451] (D1 only) Initializers don't work for tuple variables

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3451 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Platform|Other

[Issue 3338] template "is not an expression", "of type void", and "is not evaluatable at compile time" combo error.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3338 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if`

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7363 yebblies changed: What|Removed |Added CC||chadj...@gmail.com --- Comment #3 from yebb

[Issue 2814] implicit cast (implemented via alias this) is not triggered when passing to function

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2814 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3812] Missing line number for implicit cast of variadic function to array

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3812 --- Comment #2 from yebblies 2012-02-04 18:25:41 EST --- *** Issue 7434 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail becaus

[Issue 7434] Error involving array literal created in ctfe gives wrong line number

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7434 yebblies changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 6504] Regression(2.041): "str" ~ [arr] allows string literal to be modified

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6504 --- Comment #6 from github-bugzi...@puremagic.com 2012-02-03 23:20:55 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5fd81965b2155abd6c5f8bbfcb9d7b1460a36b87

[Issue 7419] [2.058/CTFE] Constructor of struct is overwritten inside a unittest with -inline

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7419 --- Comment #5 from github-bugzi...@puremagic.com 2012-02-03 23:20:50 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/127d0110b839e5bdc2997ae0b586b1e93c7c8daa

[Issue 7429] Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7429 Brad Roberts changed: What|Removed |Added CC||bra...@puremagic.com --- Comment #1 fro

[Issue 7434] Error involving array literal created in ctfe gives wrong line number

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7434 yebblies changed: What|Removed |Added AssignedTo|yebbl...@gmail.com |clugd...@yahoo.com.au --- Comment #2 from y

[Issue 6238] Cannot define global immutable AA

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6238 yebblies changed: What|Removed |Added Platform|Other |All OS/Version|Windows

[Issue 7434] New: Error involving array literal created in ctfe gives wrong line number

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7434 Summary: Error involving array literal created in ctfe gives wrong line number Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Keywo

[Issue 7434] Error involving array literal created in ctfe gives wrong line number

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7434 --- Comment #1 from yebblies 2012-02-04 18:03:18 EST --- int[string] initHash(in string[] words) { int[string] h; for (auto i=0; i < words.length; i++) { h[words[i]] = i; // Compiler points to this line and says

[Issue 6238] Cannot define global immutable AA

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6238 --- Comment #3 from hst...@quickfur.ath.cx 2012-02-03 22:54:32 PST --- int[string] initHash(in string[] words) { int[string] h; for (auto i=0; i < words.length; i++) { h[words[i]] = i; // Compiler points to this

[Issue 6238] Cannot define global immutable AA

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6238 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #2 from yebb

[Issue 6238] Cannot define global immutable AA

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6238 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx

[Issue 6545] [CTFE] Hard-coded array operations not yet supported

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6545 yebblies changed: What|Removed |Added Keywords||pull CC|

[Issue 2547] Array Ops should check length, at least when bounds checking is on

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2547 yebblies changed: What|Removed |Added Keywords||pull --- Comment #3 from yebblies 2012-02-

[Issue 2006] Empty array literals with explicit type implicitly convert to any array type

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2006 yebblies changed: What|Removed |Added Summary|Appending empty array using |Empty array literals with

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #19 from Steven Schveighoffer 2012-02-03 17:18:54 PST --- (In reply to comment #18) > (In reply to comment #17) > > try at a minimum immutable, mutable, and inout. If more than one of these > > typechecks, the call is ambiguous. >

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #18 from timon.g...@gmx.ch 2012-02-03 17:14:50 PST --- (In reply to comment #17) > (In reply to comment #16) > > (In reply to comment #13) > > > Once again you are right Timon! > > > > > > I was neglecting to see in the original exa

[Issue 2006] Appending empty array using ~= cast(T[]) [] doesn't work

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2006 Stewart Gordon changed: What|Removed |Added Summary|Empty array literals with |Appending empty array using

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #17 from Steven Schveighoffer 2012-02-03 16:54:12 PST --- (In reply to comment #16) > (In reply to comment #13) > > Once again you are right Timon! > > > > I was neglecting to see in the original example that the call was id(foo(y

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #16 from timon.g...@gmx.ch 2012-02-03 16:26:32 PST --- (In reply to comment #13) > Once again you are right Timon! > > I was neglecting to see in the original example that the call was id(foo(y)) > instead of just id(y)! I sometime

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #15 from Steven Schveighoffer 2012-02-03 16:04:11 PST --- (In reply to comment #14) > Er... messed up that graph a smidge > > (In reply to comment #13) > > mutable ---+ > >| > >

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #14 from Steven Schveighoffer 2012-02-03 15:59:19 PST --- Er... messed up that graph a smidge (In reply to comment #13) > mutable ---+ >| > immutable --+--> inout(const) -+-> con

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #13 from Steven Schveighoffer 2012-02-03 15:46:53 PST --- Once again you are right Timon! I was neglecting to see in the original example that the call was id(foo(y)) instead of just id(y)! I sometimes cannot penetrate your inadv

[Issue 5575] Problem with a map() of a const uniq()

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5575 --- Comment #1 from bearophile_h...@eml.cc 2012-02-03 15:41:44 PST --- This seems related, DMD 2.058head: import std.algorithm, std.array; void main() { auto s1 = "hello"; auto m1 = map!(c => c)(s1); auto a1 = array(m1); // OK

[Issue 7433] New: writeln of char range

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7433 Summary: writeln of char range Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2

[Issue 7431] New: overload-resolution should be more fine-grained

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7431 Summary: overload-resolution should be more fine-grained Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 7432] New: dmd allows pure variables and treats pure like auto

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7432 Summary: dmd allows pure variables and treats pure like auto Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #12 from timon.g...@gmx.ch 2012-02-03 14:42:21 PST --- (In reply to comment #11) > (In reply to comment #10) > > For example, this should type check: > > > > immutable(int)[] arr = [2,3,4]; > > inout(const(int))[] foo(inout(int)[] x

[Issue 7430] opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #5 from

[Issue 7430] opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 --- Comment #4 from Simen Kjaeraas 2012-02-03 12:57:09 PST --- Oh, there is one problem - opEquals. If it returns true for ==, it returns false for !=. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 7430] opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #3

[Issue 7430] opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 --- Comment #2 from Gor Gyolchanyan 2012-02-03 11:52:59 PST --- What i want is a floating-point style comparisons, where there's a NaN, which fits perfectly in the comparison operators and really does return false in all cases. (In reply to c

[Issue 7430] opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #1

[Issue 3771] warn or disallow method as property usage without @property attribute

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3771 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #3

[Issue 7430] opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Severity|blocke

[Issue 7430] New: opCmp doesn't support unordered value comparison.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7430 Summary: opCmp doesn't support unordered value comparison. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: blocker Priority: P2

[Issue 7429] New: Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined.

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7429 Summary: Cannot append a struct type to itself even if an opOpAssign(string op : "~") is defined. Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 3187] Nested foreach over opApply doesn't work

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3187 yebblies changed: What|Removed |Added CC||cbkbbej...@mailinator.com --- Comment #5 fr

[Issue 2192] Returning from inside foreach body delegate only returns from inner delegate

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2192 yebblies changed: What|Removed |Added Keywords||wrong-code Status|NEW

[Issue 2192] Returning from inside foreach body delegate only returns from inner delegate

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2192 --- Comment #5 from Kenji Hara 2012-02-03 04:48:55 PST --- I think the original issue titled "Returning element in an AA of AAs during nested foreach generates compiler error" is a dup of bug 3187, and today it works as expected. So, I can't u

[Issue 7355] inout incorrectly resolved if the same type has both mutable and immutable parts

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7355 --- Comment #11 from Steven Schveighoffer 2012-02-03 03:24:52 PST --- (In reply to comment #10) > For example, this should type check: > > immutable(int)[] arr = [2,3,4]; > inout(const(int))[] foo(inout(int)[] x){ > return uniform(0,2) ?

[Issue 2192] Returning from inside foreach body delegate only returns from inner delegate

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2192 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Platform|x86

[Issue 2006] Empty array literals with explicit type implicitly convert to any array type

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2006 yebblies changed: What|Removed |Added Keywords||pull Summary|Empty array literals

[Issue 1817] (D1 only) Lazy parameters cannot accept strings

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1817 yebblies changed: What|Removed |Added Keywords||rejects-valid CC|

[Issue 1344] (D1 only) Can't implicitly convert literal 0 to typedef of ulong

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1344 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com Platform|x86

[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2962 Don changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #35 from

[Issue 7323] ICE(glue.c): with json.d

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7323 Don changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 1064] Tuples are not expanded in array initializers

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1064 yebblies changed: What|Removed |Added Keywords||pull --- Comment #2 from yebblies 2012-02-

[Issue 3771] warn or disallow method as property usage without @property attribute

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3771 --- Comment #2 from Witold Baryluk 2012-02-03 01:31:54 PST --- I belive this bug is almost fixed in compiler in repository. Is Phobos updated accordingly to use @property property in array / string functions? -- Configure issuemail: http://d

[Issue 785] Make 'cent' and 'ucent' syntactically valid pending implementation

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=785 --- Comment #27 from Witold Baryluk 2012-02-03 01:09:31 PST --- Just to add some additional context. I think many CUDA and OpenCL compilers, as well some tools which uses OpenGL/Cg, whetever, when asked to do double calculations actually uses

[Issue 785] Make 'cent' and 'ucent' syntactically valid pending implementation

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=785 Witold Baryluk changed: What|Removed |Added CC||bary...@smp.if.uj.edu.pl --- Comment #

[Issue 5332] Undefined reference to zero length array

2012-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5332 yebblies changed: What|Removed |Added Keywords||link-failure, pull CC|