[Issue 5474] New: unaryFun byRef is borked for custom parameter name

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5474

   Summary: unaryFun byRef is borked for custom parameter name
   Product: D
   Version: D2
  Platform: All
OS/Version: All
Status: NEW
  Keywords: patch
  Severity: enhancement
  Priority: P2
 Component: Phobos
AssignedTo: nob...@puremagic.com
ReportedBy: simen.kja...@gmail.com


--- Comment #0 from Simen Kjaeraas simen.kja...@gmail.com 2011-01-22 01:43:41 
PST ---
std.functional.unaryFun fails if byRef is true and parmName != a.

Patch:

static if (byRef)
{
Body!(ElementType).ReturnType result(ElementType)(ref ElementType
__a)
{
mixin(alias __a ~parmName~;);
mixin(Body!(ElementType).code);
}
}

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


[Issue 5474] unaryFun byRef is borked for custom parameter name

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5474


Simen Kjaeraas simen.kja...@gmail.com changed:

   What|Removed |Added

   Severity|enhancement |normal


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


[Issue 4942] Cannot use std.container.Array with a struct as type parameter

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4942


Andrei Alexandrescu and...@metalanguage.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


--- Comment #2 from Andrei Alexandrescu and...@metalanguage.com 2011-01-22 
11:19:55 PST ---
Fixed in http://www.dsource.org/projects/phobos/changeset/2364

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


[Issue 4588] [lex] @ttributes are not documented

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4588


Ellery Newcomer ellery-newco...@utulsa.edu changed:

   What|Removed |Added

 CC||ellery-newco...@utulsa.edu


--- Comment #3 from Ellery Newcomer ellery-newco...@utulsa.edu 2011-01-22 
13:06:41 PST ---
(In reply to comment #0)
 http://www.digitalmars.com/d/2.0/lex.html
 @ character is not listed as a token.
 

It is listed as a token now

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


[Issue 5476] New: spec: attributes have an optional else clause

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5476

   Summary: spec: attributes have an optional else clause
   Product: D
   Version: D2
  Platform: Other
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: websites
AssignedTo: nob...@puremagic.com
ReportedBy: ellery-newco...@utulsa.edu


--- Comment #0 from Ellery Newcomer ellery-newco...@utulsa.edu 2011-01-22 
13:24:19 PST ---
http://www.digitalmars.com/d/2.0/attribute.html:

attribute
declaration;
else
declaration;

attribute// affects all declarations in the block
{
declaration;
declaration;
...
}
else
{
declaration;
declaration;
...
}

Either I'm misunderstanding something, or this is and has been wrong for quite
a while

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


[Issue 4994] std.range assumeSorted and SortedRange!() don't work with immutables

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4994


Andrei Alexandrescu and...@metalanguage.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


--- Comment #1 from Andrei Alexandrescu and...@metalanguage.com 2011-01-22 
14:21:59 PST ---
Fixed in http://www.dsource.org/projects/phobos/changeset/2368

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


[Issue 5016] to!() can not convert from wide characters to char

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5016


Andrei Alexandrescu and...@metalanguage.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


--- Comment #4 from Andrei Alexandrescu and...@metalanguage.com 2011-01-22 
15:11:51 PST ---
std.conv.to for narrowing conversions acts as a checked cast. This bug was
fixed in http://www.dsource.org/projects/phobos/changeset/2359 and
http://www.dsource.org/projects/phobos/changeset/2363

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


[Issue 5474] unaryFun byRef is borked for custom parameter name

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5474


Andrei Alexandrescu and...@metalanguage.com 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 5152] std.conv fails to convert a char[] to string after update to dmd 2.050

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5152


Andrei Alexandrescu and...@metalanguage.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


--- Comment #1 from Andrei Alexandrescu and...@metalanguage.com 2011-01-22 
15:57:33 PST ---
Fixed in http://www.dsource.org/projects/phobos/changeset/2369

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


[Issue 5477] New: std.signals should have the ability to fire events asynchronously

2011-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5477

   Summary: std.signals should have the ability to fire events
asynchronously
   Product: D
   Version: D2
  Platform: x86
OS/Version: Linux
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Phobos
AssignedTo: nob...@puremagic.com
ReportedBy: mand...@brars.co.in


--- Comment #0 from Mandeep Singh Brar mand...@brars.co.in 2011-01-22 
19:01:54 PST ---
emit method in std.signals library fires events asynchronously. It should be
possible to emit signals synchronously as well as asynchronously. Event
handlers should receive signals without waiting for other event handlers to
complete

Thanks 
Mandeep

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