Fix #871: Fix instruction names for PyEval.CAST_TYPE#872
Fix #871: Fix instruction names for PyEval.CAST_TYPE#872haeter525 merged 3 commits intoev-flow:masterfrom
Conversation
There was a problem hiding this comment.
Hi @dolamroth, thanks for the patch!
It appears we’ve had this instruction implementation wrong since the very beginning. Thank you for catching this and providing a fix!
Since there are existing unit tests covering CAST_TYPE instruction parsing in tests/evaluator/test_pyeval.py, could you kindly help update the following tests to reflect these changes?
|
Yes, I didn't notice the tests and your comment before, I'll update tests shortly. |
|
Done, but the tests are failing. I'm not sure if that's due to my changes or not. @haeter525, could you take a look, please? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #872 +/- ##
==========================================
- Coverage 82.27% 81.31% -0.96%
==========================================
Files 80 80
Lines 6844 6948 +104
==========================================
+ Hits 5631 5650 +19
- Misses 1213 1298 +85
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi @dolamroth. Your changes look great! The test failed for two reasons, but neither was caused by your changes:
Your change is good to go. I'll apply a fix to your branch to get the tests to pass, then merge the PR. |
Fix #871