April 08, 2016 [Issue 15899] New: Tuple.toString not recognized as a function with isSomeFunction | ||||
|---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: edder@tkwsping.nl 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)); } -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply