Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix UseCompatibleSyntax class error message#1215

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@rjmholt
Copy link
Contributor

PR Summary

A bug in the UseCompatibleSyntax rule means error messages come out looking very bad. This fixes that.

PR Checklist

Copy link
Collaborator

@bergmeisterbergmeister left a comment
edited
Loading

Choose a reason for hiding this comment

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

Good spot. Looks good to me.
Optional suggestion would be to create a wrapper function for creating the error message since there are now 6 usages ofStrings.UseCompatibleSyntaxError, this would improve readability when using named parameters to call it and would also add a small safety net since one only sees a mismatch of number of parameter at runtime.

Copy link
Contributor

@JamesWTruherJamesWTruher left a comment

Choose a reason for hiding this comment

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

looks fine

@JamesWTruherJamesWTruher merged commit3f69f93 intoPowerShell:developmentApr 23, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@bergmeisterbergmeisterbergmeister approved these changes

+1 more reviewer

@JamesWTruherJamesWTruherJamesWTruher approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@rjmholt@bergmeister@JamesWTruher

[8]ページ先頭

©2009-2025 Movatter.jp