-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly track implicit dependance on
__type__
in function calls (#…
…5715) When passing objects to functions, there is an implicit dependence on the `__type__` field (which may be used for function overloading). This dependence isn't tracked, so in inheritance cases a computed that depends on it may be processed before `__type__` is inherited. Fix this by making sure to get `__type__` through proper channels. Fixes #5661. In addition to actually fixing it, I added a hack that will make `__type__` always be processed first, to work around not easily being able to repair the expr refs in existing databases. We can drop the hack on our dev branch immediately, though. (I tested this flow manually.)
- Loading branch information
Showing
4 changed files
with
64 additions
and
6 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
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