D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6973 - static assert(isOutputRange!(OutputRange!int, int)) is false
Summary: static assert(isOutputRange!(OutputRange!int, int)) is false
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2011-11-19 10:24 UTC by SHOO
Modified: 2011-12-03 06:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description SHOO 2011-11-19 10:24:48 UTC
This code doesn't work!

----
import std.range;
static assert(isOutputRange!(OutputRange!int, int));
----

This issue triggered from hasMember template.
hasMember returns false if use interface or union.