Skip to content

Angle compiler cleanups#707

Open
simonmar wants to merge 1 commit intofacebookincubator:mainfrom
simonmar:angle-cleanup
Open

Angle compiler cleanups#707
simonmar wants to merge 1 commit intofacebookincubator:mainfrom
simonmar:angle-cleanup

Conversation

@simonmar
Copy link
Copy Markdown
Collaborator

No functional changes.

  • rename TcQueryGen to TcWhere

  • change TcAll and TcNegation to contain TcPat instead of TcQuery / [TcStatement] respectively (this is more uniform and consistent, and simplifies some things)

  • refactoring in the type checker to unify how we handle locality. oneBranch is renamed encloseLocal and used consistently when typechecking |, all, !, and if, which all need locality. Probably fixes some bugs.

  • update a few out-of-date comments

- rename `TcQueryGen` to `TcWhere`

- change `TcAll` and `TcNegation` to contain `TcPat` instead of `TcQuery` /
  `[TcStatement]` respectively (this is more uniform and
  consistent, and simplifies some things)

- refactoring in the type checker to unify how we handle
  locality. `oneBranch` is renamed `encloseLocal` and used consistently
  when typechecking `|`, `all`, `!`, and `if`, which all need
  locality. Probably fixes some bugs.

- update a few out-of-date comments
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 25, 2026

Deploy Preview for fb-oss-glean canceled.

Name Link
🔨 Latest commit c839794
🔍 Latest deploy log https://app.netlify.com/projects/fb-oss-glean/deploys/69c3bca894ad9b000847e7d6

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 25, 2026
@simonmar simonmar marked this pull request as ready for review March 25, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant