-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(swingset): allow Symbol.asyncIterator as a method name
Liveslots special-cases this one symbol by converting it into a (string) method name of `"Symbol.asyncIterator"` for `syscall.send`, and back again during `dispatch.deliver`. This has several limitations: * no other Symbols are accepted yet * `E(target)[Symbol.asyncIterator](args)` and `E[target]['Symbol.asyncIterator'](args)` will invoke the same target method, which is clearly wrong * a method named `'Symbol.asyncIterator'` (as a string) cannot be invoked remotely This should all be fixed someday by #2481. closes #2619
- Loading branch information
Showing
3 changed files
with
91 additions
and
0 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
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