-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Merge Type
and TypeWithHandle
#1678
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1678 +/- ##
==========================================
- Coverage 76.21% 76.12% -0.10%
==========================================
Files 34 34
Lines 9990 10000 +10
==========================================
- Hits 7614 7612 -2
- Misses 2376 2388 +12 ☔ View full report in Codecov by Sentry. |
I think these changes are a very nice refactor that should have definitely have been done sooner. |
There's something going on with handles in |
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.
There's something going on with handles in
Analyser.getFieldAccessType
but I can't seem to wrap my head around it...
Looking back at the old code, there was some possible handle mismatch going on but I can't spot any mistakes after your diff.
AFAICT only
Type.data.other
actually requires a pointer toDocumentStore.Handle
so I changedother: Ast.Node.Index
toother: NodeWithHandle
and deleted theTypeWithHandle.handle
field 🗑️