-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
expression: add warnings for logarithm functions #18668
Conversation
+ add new errcode: 3020 + add warnings when logarithm functions are given invalid arguments
+ file: builtin_math_test.go
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
Codecov Report
@@ Coverage Diff @@
## master #18668 +/- ##
===========================================
Coverage 79.2618% 79.2618%
===========================================
Files 546 546
Lines 148268 148268
===========================================
Hits 117520 117520
Misses 21313 21313
Partials 9435 9435 |
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
/merge |
/run-all-tests |
@dyzsr Do we need to cherry-pick this PR to release branches? |
@dyzsr merge failed. |
/merge |
/run-all-tests |
@dyzsr merge failed. |
Maybe not, it's a tiny change and doesn't affect much. But I'm not sure about this. |
It's a bugfix, let's backport it to release branches. |
/merge |
/run-all-tests |
@dyzsr merge failed. |
/merge |
/run-all-tests |
@dyzsr merge failed. |
/run-all-tests |
/merge |
/run-all-tests |
@dyzsr merge failed. |
/run-unit-test |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-3.0 in PR #19289 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-3.1 in PR #19290 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #19291 |
Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
Issue Number: close #17992
Problem Summary: No warning for invalid usage of function LN()
What is changed and how it works?
What's Changed:
Check List
Tests
Release note