-
-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
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
Issue 12888 - Include template constraints in JSON output #3657
Conversation
{ | ||
property("constraint", expression->toChars()); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to move the position of "constraint" after "parameters", because it is consistent with actual D code.
template Name(Parameters...) if (constraint) { ...members... }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a request or a requirement? According to the JSON specification "An object is an unordered set of name/value pairs."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not required for JSON data, but important for clean output from dmd.
Other than that, looks good. |
Ping? |
Auto-merge toggled on |
Oh wait @9rnsr had a concern. @Hackerpilot ? |
Auto-merge toggled off |
Updated. |
I was waiting the reply about 8 months. |
Auto-merge toggled on |
Issue 12888 - Include template constraints in JSON output
merge stable Signed-off-by: Iain Buclaw <ibuclaw@users.noreply.github.com> Merged-on-behalf-of: Iain Buclaw <ibuclaw@users.noreply.github.com>
https://issues.dlang.org/show_bug.cgi?id=12888