-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the `remove()` method of Python lists to the semantic stage and Python codegen. This fixes #1693. **Commit Summary** - Add a `ListRemove` subclass of `ListMethod`, representing the `remove()` method. The constructor checks for compatibility between the type of the `remove()` argument and the type of the list, and raises an error if they are not homogeneous. - Add success and error tests for the `remove()` method involving many scenarios where the function could be used.
- Loading branch information
1 parent
667b2fc
commit 0aca4e1
Showing
4 changed files
with
77 additions
and
1 deletion.
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
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