Skip to content

Typecheck Source/Sink method calls on proc members - #5112

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_995978884
Draft

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_995978884

Conversation

@copybara-service

Copy link
Copy Markdown

Typecheck Source/Sink method calls on proc members

Calls like self.input.recv() resolve to the stubbed methods in builtin_stubs.x. The implicit-token check assumed every builtin is called by its bare name, e.g. assert_eq(...), and crashed on a method call, where the callee is self.input.recv. It now skips methods.

Calls like `self.input.recv()` resolve to the stubbed methods in `builtin_stubs.x`. The implicit-token check assumed every builtin is called by its bare name, e.g. `assert_eq(...)`, and crashed on a method call, where the callee is `self.input.recv`. It now skips methods.

PiperOrigin-RevId: 995978884

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant