[Issue 4803] std.range.chain with const string arguments

2012-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4803


SomeDude lovelyd...@mailmetrash.com changed:

   What|Removed |Added

 CC||lovelyd...@mailmetrash.com


--- Comment #3 from SomeDude lovelyd...@mailmetrash.com 2012-04-21 15:34:49 
PDT ---
Compiles on 2.059

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


[Issue 4803] std.range.chain with const string arguments

2012-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4803


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


--- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-04-21 
15:39:19 PDT ---
(In reply to comment #3)
 Compiles on 2.059

Thanks for testing.

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


[Issue 4803] std.range.chain with const string arguments

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


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 4803] std.range.chain with const string arguments

2010-09-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4803


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

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


--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2010-09-03 
10:29:52 PDT ---
What exactly is the purpose of a constant string type?

That type evaluates to const(immutable(char)[]), which wouldn't make much sense
to me.

Note that this will work:

import std.range: chain;
void main() {
const (char)[] s = hello;
auto r = chain(s, s);
}

But I'm not sure if that's what you were after.

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


[Issue 4803] std.range.chain with const string arguments

2010-09-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4803



--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2010-09-03 
10:35:43 PDT ---
(In reply to comment #1)
 What exactly is the purpose of a constant string type?
 
 That type evaluates to const(immutable(char)[]), which wouldn't make much 
 sense
 to me.
 
 Note that this will work:
 
 import std.range: chain;
 void main() {
 const (char)[] s = hello;
 auto r = chain(s, s);
 }
 
 But I'm not sure if that's what you were after.

Woops, my bad. A string is still appendable, and a const one would not be. I
think I understand now.

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