Skip to content
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

Merged
merged 4 commits into from
Jan 28, 2015

Conversation

Hackerpilot
Copy link
Member

{
property("constraint", expression->toChars());
}

Copy link
Contributor

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... }

Copy link
Member Author

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."

Copy link
Contributor

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.

@9rnsr
Copy link
Contributor

9rnsr commented Jun 11, 2014

Other than that, looks good.

@9rnsr
Copy link
Contributor

9rnsr commented Aug 11, 2014

Ping?

@andralex
Copy link
Member

Auto-merge toggled on

@andralex
Copy link
Member

Oh wait @9rnsr had a concern. @Hackerpilot ?

@andralex
Copy link
Member

Auto-merge toggled off

@Hackerpilot
Copy link
Member Author

Updated.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 28, 2015

I was waiting the reply about 8 months.

@9rnsr
Copy link
Contributor

9rnsr commented Jan 28, 2015

Auto-merge toggled on

9rnsr added a commit that referenced this pull request Jan 28, 2015
Issue 12888 - Include template constraints in JSON output
@9rnsr 9rnsr merged commit 821e131 into dlang:master Jan 28, 2015
ibuclaw pushed a commit to ibuclaw/dmd that referenced this pull request Jul 10, 2022
merge stable

Signed-off-by: Iain Buclaw <ibuclaw@users.noreply.github.com>
Merged-on-behalf-of: Iain Buclaw <ibuclaw@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants