https://issues.dlang.org/show_bug.cgi?id=15899
Issue ID: 15899
Summary: Tuple.toString not recognized as a function with
isSomeFunction
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: regression
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
According to the documentation Tuple.toString should be a function, but is not
recognized as such. The assert below fails:
void main()
{
import std.traits : isSomeFunction;
import std.typecons : Tuple;
static assert(isSomeFunction!(Tuple!(int)(0).toString));
}
--