-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
bugfix: check_format script, tokenInLine helper function #12441
Conversation
Signed-off-by: Yifan Yang <needyyang@google.com>
@stedsome can you add a test to the code format checker that demonstrates this issue? |
@sunjayBhatia
|
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.
Requesting for adding a comment.
Signed-off-by: Yifan Yang <needyyang@google.com>
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.
LGTM
Signed-off-by: Yifan Yang <needyyang@google.com>
Signed-off-by: Yifan Yang <needyyang@google.com>
…12441) Signed-off-by: Yifan Yang <needyyang@google.com>
…12441) Signed-off-by: Yifan Yang <needyyang@google.com> Signed-off-by: chaoqinli <chaoqinli@google.com>
Signed-off-by: Yifan Yang needyyang@google.com
This looks like a bug to me. @sunjayBhatia do you mind confirming this?
The effect of this is that this function incorrectly returns false when the token in question is the first one in a line.
This was found during my attempt here #12421.
Commit Message:
Additional Description:
Risk Level: low, should correct an incorrect behavior.
Testing: All existing tests have passed
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]