-
Notifications
You must be signed in to change notification settings - Fork 391
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
ISE: Self reference in computed using __source__ #5661
Comments
CarsonF
changed the title
Extended type has no link or property '__type__'
ISE: Self reference in computed using __source__
Jun 26, 2023
Also affects constraints:
|
msullivan
added a commit
that referenced
this issue
Jun 28, 2023
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.)
msullivan
added a commit
that referenced
this issue
Jun 28, 2023
…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.)
msullivan
added a commit
that referenced
this issue
Jul 6, 2023
…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.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce:
edgedb watch
The text was updated successfully, but these errors were encountered: