-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: Allow string py expressions in result and panic #759
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #759 +/- ##
==========================================
+ Coverage 92.94% 92.98% +0.03%
==========================================
Files 71 71
Lines 8224 8226 +2
==========================================
+ Hits 7644 7649 +5
+ Misses 580 577 -3 ☔ View full report in Codecov by Sentry. |
| ^^^^^^^^^^^^^ Expected a string literal | ||
| ^^^^^^^^^^^^^ Binary operator `+` not defined for `str` and `str` |
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.
Can you update this test so it still catches the non static error. Something like
panic("foo" if y else "bar", y)
| ^^^^^^^^^^^^^ Expected a string literal | ||
| ^^^^^^^^^^^^^ Binary operator `+` not defined for `str` and `str` |
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.
Same here
No description provided.