Skip to content

Disallow member access on scan records#854

Closed
daniellerozenblit wants to merge 2 commits into
facebook:devfrom
daniellerozenblit:export-D105966083
Closed

Disallow member access on scan records#854
daniellerozenblit wants to merge 2 commits into
facebook:devfrom
daniellerozenblit:export-D105966083

Conversation

@daniellerozenblit

Copy link
Copy Markdown
Contributor

Summary: Adds a check in the SemanticAnalyzer to reject member access on records whose layout cannot be determined without scanning the input (requires_scan == true).

Reviewed By: terrelln

Differential Revision: D105966083

Summary:
## Stack
The goal of this stack is to support scan records in SDDL2.

## Diff
This diff introduces classification of records as either "instant-parse" or "requires-scan" based on whether their layout depends on their own field values.

Reviewed By: terrelln

Differential Revision: D105572482
Summary: Adds a check in the SemanticAnalyzer to reject member access on records whose layout cannot be determined without scanning the input (`requires_scan == true`).

Reviewed By: terrelln

Differential Revision: D105966083
@meta-cla meta-cla Bot added the cla signed label Jun 30, 2026
@meta-codesync

meta-codesync Bot commented Jun 30, 2026

Copy link
Copy Markdown

@daniellerozenblit has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105966083.

@meta-codesync

meta-codesync Bot commented Jun 30, 2026

Copy link
Copy Markdown

This pull request has been merged in e778a89.

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