digitalmars.D.bugs - [Issue 3181] New: Sequence example fails to compile
- d-bugmail puremagic.com (23/23) Jul 15 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3181
- d-bugmail puremagic.com (10/10) Oct 11 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3181
- d-bugmail puremagic.com (13/13) Sep 26 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3181
http://d.puremagic.com/issues/show_bug.cgi?id=3181
Summary: Sequence example fails to compile
Product: D
Version: 2.031
Platform: Other
URL: http://digitalmars.com/d/2.0/phobos/std_range.html#seq
uence
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Phobos
AssignedTo: nobody puremagic.com
ReportedBy: Jesse.K.Phillips+D gmail.com
CC: Jesse.K.Phillips+D gmail.com
If you create a program using the example provided for sequence!() you get a
compilation error:
/usr/local/include/d/phobos2/std/functional.d(191): Error: static assert "Bad
binary function q{a[0] + n * a[1]}. You need to use a valid D expression using
symbols a of type Tuple!(int,int) and n of type uint."
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 15 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3181
Andrei Alexandrescu <andrei metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |andrei metalanguage.com
AssignedTo|nobody puremagic.com |andrei metalanguage.com
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 11 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3181
Andrei Alexandrescu <andrei metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
18:23:02 PDT ---
This has been fixed a while ago. I added a unittest in
http://www.dsource.org/projects/phobos/changeset/2067 to make sure this doesn't
regress.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 26 2010









d-bugmail puremagic.com 