[Issue 3181] New: Sequence example fails to compile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 15 19:33:48 PDT 2009
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 at puremagic.com
ReportedBy: Jesse.K.Phillips+D at gmail.com
CC: Jesse.K.Phillips+D at 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: -------
More information about the Digitalmars-d-bugs
mailing list