[Issue 3746] Misleding error message "OP has no effect in expression XXX), in void function

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746


yebblies  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |
   Severity|minor   |enhancement


--- Comment #5 from yebblies  2011-06-12 23:21:28 PDT ---
My bad, this is a request for a better error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3437] No way to make conversions to string in pure functions.

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3437


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #2 from yebblies  2011-06-12 23:22:58 PDT ---
*** This issue has been marked as a duplicate of issue 4850 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4850] std.conv.to isn't pure

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4850


yebblies  changed:

   What|Removed |Added

 CC||alvcas...@yahoo.es


--- Comment #4 from yebblies  2011-06-12 23:22:58 PDT ---
*** Issue 3437 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 because: ---


[Issue 3630] bad error location in "has no effect in expression" error

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3630


yebblies  changed:

   What|Removed |Added

 CC||bary...@smp.if.uj.edu.pl


--- Comment #1 from yebblies  2011-06-12 23:19:46 PDT ---
*** Issue 3746 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 because: ---


[Issue 3746] Misleding error message "OP has no effect in expression XXX), in void function

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746


yebblies  changed:

   What|Removed |Added

 CC||s...@q1cc.net


--- Comment #3 from yebblies  2011-06-12 23:18:47 PDT ---
*** Issue 3855 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 because: ---


[Issue 3746] Misleding error message "OP has no effect in expression XXX), in void function

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3746


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #4 from yebblies  2011-06-12 23:19:46 PDT ---
*** This issue has been marked as a duplicate of issue 3630 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3855] Misleading error messages for return expression in void methods.

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3855


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #1 from yebblies  2011-06-12 23:18:46 PDT ---
*** This issue has been marked as a duplicate of issue 3746 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3765] User defined type contains few user defined types

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3765


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 23:01:31 PDT ---
Works with current dmd (1.068 & 2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2408] class declared as invariant cannot have static methods

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2408


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 22:55:49 PDT ---
This works in current dmd 2.053.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3732] Not all COM interfaces inherit from IUnknown.

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3732


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||INVALID


--- Comment #3 from yebblies  2011-06-12 22:52:43 PDT ---
The correct solution would be to use extern(C++) interfaces.  The bug is really
in microsoft calling something a com class which isn't.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3730] Struct's explicit constructor can't initialize global variables

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3730


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #3 from yebblies  2011-06-12 22:46:24 PDT ---
This compiles without error in dmd2.053

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3729] Can't define opEquals for immutable types

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3729


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #1 from yebblies  2011-06-12 22:44:10 PDT ---
*** This issue has been marked as a duplicate of issue 3659 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3607] Problems with struct opEquals and const

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3607


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #4 from yebblies  2011-06-12 22:44:02 PDT ---
*** This issue has been marked as a duplicate of issue 3659 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3659] Too much exegesis on opEquals

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3659



--- Comment #8 from yebblies  2011-06-12 22:44:10 PDT ---
*** Issue 3729 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 because: ---


[Issue 3659] Too much exegesis on opEquals

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3659



--- Comment #7 from yebblies  2011-06-12 22:44:02 PDT ---
*** Issue 3607 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 because: ---


[Issue 1996] is ( Type Identifier : TypeSpecialization ) deduction error with inheritance

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1996


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #2 from yebblies  2011-06-12 22:29:59 PDT ---
All tests now pass with current dmd (1.068 & 2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3321] debug flags

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3321


yebblies  changed:

   What|Removed |Added

 CC||jlqu...@optonline.net


--- Comment #4 from yebblies  2011-06-12 22:11:46 PDT ---
*** Issue 3721 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 because: ---


[Issue 3721] -debug flag doesn't behave as in spec

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3721


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #1 from yebblies  2011-06-12 22:11:46 PDT ---
*** This issue has been marked as a duplicate of issue 3321 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5986] Function pointers wrongly typed

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5986


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #3 from yebblies  2011-06-12 22:09:28 PDT ---
*** This issue has been marked as a duplicate of issue 3720 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3720] Taking address of member functions possible without an instance

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3720


yebblies  changed:

   What|Removed |Added

 CC||raphael.lond...@gmail.com


--- Comment #1 from yebblies  2011-06-12 22:09:28 PDT ---
*** Issue 5986 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 because: ---


[Issue 1525] Can't instantiate template with bogus error messages

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1525


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #3 from yebblies  2011-06-12 22:00:34 PDT ---
Dmd now complains that V and C are undefined (dmd 1.068 & 2.053) which
correctly identifies the problem.

testx.d(1): Error: undefined identifier C, did you mean template k(U : V[C])?
testx.d(1): Error: undefined identifier V, did you mean template k(U :
V[_error_
])?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2601] Extraneous cast introduced in member access

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2601


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #2 from yebblies  2011-06-12 21:52:41 PDT ---
I think array literals have become dynamic since then, so the case in comment 1
works.  The case in comment 2 does not appear to be a bug, casting a static
array to a dynamic array cannot result in an lvalue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3360] segfault with alias this and inner classes

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3360


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 21:45:12 PDT ---
Works in current dmd (2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1370] Can't const-fold empty array literal

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1370


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #2 from yebblies  2011-06-12 21:40:40 PDT ---
This works in current dmd 1.068 and 2.053.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3707] comma-terminated array initializers not allowed with mixin

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3707


yebblies  changed:

   What|Removed |Added

 CC||yebbl...@gmail.com
   Platform|Other   |All
Version|2.038   |D1
 OS/Version|Mac OS X|All


--- Comment #1 from yebblies  2011-06-12 21:35:15 PDT ---
This work correctly on D2, not on D1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6153] Inserting to An Array!T inside an Array!(Array!T) causes a segfault.

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6153


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||and...@metalanguage.com
 AssignedTo|nob...@puremagic.com|and...@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6153] New: Inserting to An Array!T inside an Array!(Array!T) causes a segfault.

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6153

   Summary: Inserting to An Array!T inside an Array!(Array!T)
causes a segfault.
   Product: D
   Version: D2
  Platform: x86_64
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: DMD
AssignedTo: nob...@puremagic.com
ReportedBy: victor.v.carva...@gmail.com


--- Comment #0 from Victor  2011-06-12 21:04:21 
PDT ---
Created an attachment (id=996)
testcase

See the attached test case. Running it causes a segfault on glibc.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6152] New: The std.concurrency.receive* family of functions is undocumented.

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6152

   Summary: The std.concurrency.receive* family of functions is
undocumented.
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: websites
AssignedTo: nob...@puremagic.com
ReportedBy: blood.of.l...@gmail.com


--- Comment #0 from Bernard Helyer  2011-06-12 
17:56:19 PDT ---


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3624] http://digitalmars.com/d/1.0/ has D Programming Language 2.0 at the top

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3624


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 15:57:34 PDT ---
This was fixed at some point.  The title now reads 'D Programming Language 1.0'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3606] Problems with struct destructors and const structs

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3606


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #3 from yebblies  2011-06-12 15:54:43 PDT ---
The code now compiles. (dmd2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3542] Unittest block does not require a closing bracket

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3542


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 15:47:49 PDT ---
Correctly errors in dmd 2.053

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3499] Forward reference error with typeof() on a function

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3499


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 15:34:52 PDT ---
This compiles without error on current dmd (1.068 & 2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3448] __traits(compiles) returns true for a non-compilable template instantiation

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3448


yebblies  changed:

   What|Removed |Added

 CC||yebbl...@gmail.com


--- Comment #1 from yebblies  2011-06-12 15:27:30 PDT ---
This seems to have the same root cause as bug 965

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2805] Many modules not marked as system

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805



--- Comment #5 from yebblies  2011-06-12 15:22:34 PDT ---
http://www.digitalmars.com/d/2.0/changelog.html I guess

-safe was removed from the compiler in 2.037

The 'Function Safety' section in 
http://www.digitalmars.com/d/2.0/function.html
describes what the new safety spec is supposed to be.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2805] Many modules not marked as system

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805



--- Comment #4 from Witold Baryluk  2011-06-12 
15:15:57 PDT ---
(In reply to comment #3)
> No longer valid as the old safety scheme has been abandoned.

Can you please give some references about it? I cannot find any information on
digitalmars.com about it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2805] Many modules not marked as system

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2805


yebblies  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 CC||yebbl...@gmail.com
 Resolution||INVALID


--- Comment #3 from yebblies  2011-06-12 15:07:22 PDT ---
No longer valid as the old safety scheme has been abandoned.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3358] Several typeof(Class.method).stringof incoherence

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3358


yebblies  changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #3 from yebblies  2011-06-12 14:55:23 PDT ---
*** Issue 6117 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 because: ---


[Issue 6117] Parameter names of equivalent function aliases are merged

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6117


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #1 from yebblies  2011-06-12 14:55:23 PDT ---
*** This issue has been marked as a duplicate of issue 3358 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3358] Several typeof(Class.method).stringof incoherence

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3358


yebblies  changed:

   What|Removed |Added

 CC||johnaston@gmail.com


--- Comment #2 from yebblies  2011-06-12 14:55:18 PDT ---
*** Issue 5752 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 because: ---


[Issue 5752] Incorrect memoisation during function parameter name introspection

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5752


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||DUPLICATE


--- Comment #1 from yebblies  2011-06-12 14:55:18 PDT ---
*** This issue has been marked as a duplicate of issue 3358 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3256] getMember static foreach inconsistency

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3256



--- Comment #3 from yebblies  2011-06-12 14:47:08 PDT ---
Probably not a bad idea.  I'll start shoving the ones I close into a file.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3256] getMember static foreach inconsistency

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3256


kenn...@gmail.com changed:

   What|Removed |Added

 CC||kenn...@gmail.com


--- Comment #2 from kenn...@gmail.com 2011-06-12 14:40:33 PDT ---
I think we should create a unit-test for every "turns out it works now" bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2667] a few un-demanglable Undefined symbol in std.stdio? compiler bug?

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2667


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||INVALID


--- Comment #4 from yebblies  2011-06-12 14:30:49 PDT ---
Probably not a bug, no test case given, over two years old.  No indication that
dmd is at fault.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3329] Static constructors not allowed in interfaces

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3329


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 14:28:28 PDT ---
This compiles successfully: static constructors are now allowed in interfaces
(dmd1.068 & dmd2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3256] getMember static foreach inconsistency

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3256


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 14:05:04 PDT ---
Closing as this works now (dmd2.053)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2911] Odd anomaly of implicit conversions

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2911


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 14:09:40 PDT ---
Both statements currently error (dmd 2.053)

testx.d(4): Error: cannot implicitly convert expression (c) of type wchar to
char
testx.d(6): Error: cannot implicitly convert expression ('\U') of type
const(wchar) to char

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6151] New: Make the GC functions weakly pure

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6151

   Summary: Make the GC functions weakly pure
   Product: D
   Version: D2
  Platform: Other
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: P4
 Component: druntime
AssignedTo: nob...@puremagic.com
ReportedBy: kenn...@gmail.com
Blocks: 4850


--- Comment #0 from kenn...@gmail.com 2011-06-12 13:09:53 PDT ---
Original discussion:
*
http://www.digitalmars.com/d/archives/digitalmars/D/Should_GC.malloc_be_considered_pure_137919.html
*
http://www.digitalmars.com/d/archives/digitalmars/D/Re_Should_GC.malloc_be_considered_pure_137984.html
*
http://www.digitalmars.com/d/archives/digitalmars/D/Re_Should_GC.malloc_be_considered_pure_138177.html

Due to practicality, allocation is allowed in pure function. By the same token,
GC.malloc should also be 'pure'. GC functions being not weakly-pure is the
reason why std.conv.to (bug 4850) and std.array.appender cannot be pure.

Marking the GC functions are pure are easy, but the problem is the implication
behind it. Technically, GC functions depend on global states, so they cannot be
weakly pure. But then std.array.appender can never become pure without
sacrificing performance.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6150] runnable/testsocket.d

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6150



--- Comment #1 from Brad Roberts  2011-06-12 11:41:52 PDT 
---
After a little research, trying to find where the test came from, I found that
my past has come back to haunt me.  The test came from the reporter of bug 268,
which I fixed.  The fix back then wasn't wrong and was unrelated to this
problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---



[Issue 1983] Big Hole in Const System

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1983


Steven Schveighoffer  changed:

   What|Removed |Added

 CC||schvei...@yahoo.com


--- Comment #8 from Steven Schveighoffer  2011-06-12 
11:28:15 PDT ---
*** Issue 3656 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 because: ---


[Issue 3656] delegate should specify 'this' decorations

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3656


Steven Schveighoffer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #3 from Steven Schveighoffer  2011-06-12 
11:28:15 PDT ---
Yes, it's a dupe.  I also realize now that identifying the decorations for the
this pointer makes delegates a lot less useful, so they shouldn't specify this
decorations.  I think even in the case where the function is shared, it's not
important, the member function should handle the shared semantics properly.

*** This issue has been marked as a duplicate of issue 1983 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6148] Make templates smarter about instantiating with implicitly convertible arrays

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6148


Steven Schveighoffer  changed:

   What|Removed |Added

 CC||schvei...@yahoo.com


--- Comment #4 from Steven Schveighoffer  2011-06-12 
11:24:51 PDT ---
Also, see bug 4998 as a possible solution, it can be modified to include more
general cases besides literals.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3147] Incorrect value range propagation for addition

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3147


kenn...@gmail.com changed:

   What|Removed |Added

 CC||dfj1es...@sneakemail.com


--- Comment #9 from kenn...@gmail.com 2011-06-12 11:07:25 PDT ---
*** Issue 5225 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 because: ---


[Issue 6000] Value range propagation does not work with modulus (%) with a constant

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6000


kenn...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #2 from kenn...@gmail.com 2011-06-12 11:06:25 PDT ---
*** This issue has been marked as a duplicate of issue 3147 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3147] Incorrect value range propagation for addition

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3147



--- Comment #8 from kenn...@gmail.com 2011-06-12 11:06:25 PDT ---
*** Issue 6000 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 because: ---


[Issue 5225] Signed right shift operator is ridiculous

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5225


kenn...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||kenn...@gmail.com
 Resolution||DUPLICATE


--- Comment #3 from kenn...@gmail.com 2011-06-12 11:07:25 PDT ---
*** This issue has been marked as a duplicate of issue 3147 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3147] Incorrect value range propagation for addition

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3147


kenn...@gmail.com changed:

   What|Removed |Added

   Keywords||patch
 CC||kenn...@gmail.com


--- Comment #7 from kenn...@gmail.com 2011-06-12 11:05:38 PDT ---
DMD pull #116.

https://github.com/D-Programming-Language/dmd/pull/116

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3234] Range comparison with array

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3234


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #1 from yebblies  2011-06-12 10:23:54 PDT ---
This was a documentation bug which has been fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4251] Hole in the const system: immutable values can be overwritten (const(T) is appendable to const(T)[])

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4251


yebblies  changed:

   What|Removed |Added

   Keywords||accepts-invalid, patch
 CC||yebbl...@gmail.com


--- Comment #3 from yebblies  2011-06-12 08:14:13 PDT ---
https://github.com/D-Programming-Language/dmd/pull/115

When implicitly converting types with indirections, only allow the following
results:
> completely mutable
> completely non-mutable
> exactly one mutable indirection
> the same number of mutable indirections as before

eg.
> T*** => const(T***)   allowed, full const
> T*** => const(T**)*   allowed, tail const
> T*** => const(T*)**   not allowed
> T*** => const(T)***   not allowed
> T*** => T***  allowed, same number of mutable indirections
> immutable(T*)** => const(T*)** allowed, same number of mutable indirections
etc

This prevents (as far as I know) using implicit conversions to let a pointer to
mutable and a pointer to immutable point to the same place using const
conversions.

eg.
int** a = [new int].ptr;
const(int)*** b = &a;
*b = [new immutable(int)].ptr;

The same applies to other reference types.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6121] Can't link with DMC C++ generated functions with long arguments

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6121


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||INVALID


--- Comment #3 from yebblies  2011-06-12 05:08:33 PDT ---
This _is_ a name mangling problem.  D's long is not the same as C's long (at
least not on x86) and should not be mangled the same.  There is currently no
way to have dmd mangle a C or C++ function with a C long argument.

As dmd is working as designed, I'm going to close this as invalid.  You should
reopen as an enhancement request if you think dmd should be changed to do
things differently. (There is also already an enhancement request issue 2698
which would solve your problem)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5493] Able to overwrite immutable data by passing through ref function parameter

2011-06-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5493


yebblies  changed:

   What|Removed |Added

   Keywords||patch


--- Comment #12 from yebblies  2011-06-12 00:50:41 PDT ---
https://github.com/D-Programming-Language/dmd/pull/114

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---