We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DMD64 D Compiler v2.086.0: import std.stdio, std.typecons; struct S{ string toString(){ return "not broken"; } } void main(){ writeln(S()); // "not broken" writeln(tuple(S(),S())); // "Tuple!(S, S)(const(S)(), const(S)())" } The second writeln should print: "Tuple!(S, S)(not broken, not broken)"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
timon.gehr reported this on 2019-07-06T17:44:21Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=20031
Description
DMD64 D Compiler v2.086.0: import std.stdio, std.typecons; struct S{ string toString(){ return "not broken"; } } void main(){ writeln(S()); // "not broken" writeln(tuple(S(),S())); // "Tuple!(S, S)(const(S)(), const(S)())" } The second writeln should print: "Tuple!(S, S)(not broken, not broken)"The text was updated successfully, but these errors were encountered: