-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[JIT] Add property support for ScriptModules #42390
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
Closed
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
37ddaa3
[JIT] Add property support for ScriptModules
d755d14
Update on "[JIT] Add property support for ScriptModules"
0f29e08
Update on "[JIT] Add property support for ScriptModules"
20e5794
Update on "[JIT] Add property support for ScriptModules"
0f51010
Update on "[JIT] Add property support for ScriptModules"
251e3fb
Update on "[JIT] Add property support for ScriptModules"
67f2e03
Update on "[JIT] Add property support for ScriptModules"
09907d2
Update on "[JIT] Add property support for ScriptModules"
43461f3
Update on "[JIT] Add property support for ScriptModules"
74cb4cb
Update on "[JIT] Add property support for ScriptModules"
5d4e583
Update on "[JIT] Add property support for ScriptModules"
e921537
Update on "[JIT] Add property support for ScriptModules"
12930f2
Update on "[JIT] Add property support for ScriptModules"
1a8fcf9
Update on "[JIT] Add property support for ScriptModules"
a3ca37d
Update on "[JIT] Add property support for ScriptModules"
80b678b
Update on "[JIT] Add property support for ScriptModules"
7faa808
Update on "[JIT] Add property support for ScriptModules"
fbbae46
Update on "[JIT] Add property support for ScriptModules"
667851c
Update on "[JIT] Add property support for ScriptModules"
31b98c1
Update on "[JIT] Add property support for ScriptModules"
36fe6bb
Update on "[JIT] Add property support for ScriptModules"
c2e2680
Update on "[JIT] Add property support for ScriptModules"
2bb610e
Update on "[JIT] Add property support for ScriptModules"
d22e82a
Update on "[JIT] Add property support for ScriptModules"
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I wasn't quite sure what to do here. Properties are really just syntactic sugar for setter and getter methods. Do they belong on the concrete type? If yes, how do we represent them? If not, what happens if two modules have the same underlying data attributes but different property getters/setters for them?
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.
So, concrete type already returns false if two classes differ: pyClass_.is(other.pyClass_). As long as we only take properties from methods, and not from attributes, we don't need to do any additional work here. If we do take properties as attributes than we'll need to add stuff to the ConcreteType.
(i think it's fine to not take properties that are passed in as attributes, no one really does that)