digitalmars.D.bugs - [Issue 20228] New: simple toString for Tuple!()s
- d-bugmail puremagic.com (21/24) Sep 18 2019 https://issues.dlang.org/show_bug.cgi?id=20228
https://issues.dlang.org/show_bug.cgi?id=20228 Issue ID: 20228 Summary: simple toString for Tuple!()s Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: black80 bk.ru Tuple!() prints likeTuple!(type, name, type, name, type, name)( val, val, val )too many spam for it. not types printing for structs by default, so why it need here? better solution: for named values to print with names, for unnamed - just value(name1=val, name2=val, val)or simpler(val, val, val)cuz for structs (by default) no names too --
Sep 18 2019