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

Function Default Parameters are underspecified #2607

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

WalterBright
Copy link
Member

Default arguments were incompletely specified.

@WalterBright WalterBright requested a review from andralex as a code owner March 20, 2019 22:03
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
19645 normal Default parameters not checked for @safe

@aG0aep6G
Copy link
Contributor

The commit message shouldn't say that this fixes issue 19645. DMD has to implement the new spec before the issue can be closed.

function declaration.
If the default value for a parameter is given, all following
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Close the paragraph before starting a code section. HTML doesn't like <pre> in <p>.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@WalterBright WalterBright changed the title fix Issue 19645 - Default parameters not checked for @safe Function Default Parameters are underspecified Mar 20, 2019
@thewilsonator
Copy link
Contributor

thewilsonator commented Mar 21, 2019

@WalterBright you need to change the commit message, thats what the bot looks for.
i.e. fix Issue 19645 - Default parameters not checked for @safe

Copy link
Contributor

@thewilsonator thewilsonator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending rewording of commit message to not close the issue.

@andralex andralex merged commit 966defe into dlang:master Mar 21, 2019
@aG0aep6G
Copy link
Contributor

@andralex, you've merged it with the bad commit message. I've cleaned up after you and reopened the issue.

@thewilsonator
Copy link
Contributor

@aG0aep6G Thanks!

@andralex
Copy link
Member

@aG0aep6G sorry, I assumed it'd been fixed already. Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants