-
-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request from GHSA-ph9x-4vc9-m39g
the routine for aligning call-site posargs and kwargs in `vyper.codegen.context.lookup_internal_function` was incorrect in cases where the internal function had more than one default argument - it consumed default args at the call site from the end instead of the beginning of the defaults list. this commit fixes and adds some tests for the alignment routine.
- Loading branch information
1 parent
3de1415
commit c3e68c3
Showing
2 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters