Skip to content

Unified: Add Callable type - #22469

Open
aschackmull wants to merge 1 commit into
github:mainfrom
aschackmull:unified/callable
Open

Unified: Add Callable type#22469
aschackmull wants to merge 1 commit into
github:mainfrom
aschackmull:unified/callable

Conversation

@aschackmull

Copy link
Copy Markdown
Contributor

This just adds Callable as another union type.

@aschackmull
aschackmull requested a review from a team as a code owner August 31, 2026 10:50
Copilot AI balanced review requested due to automatic review settings August 31, 2026 10:50
@aschackmull
aschackmull requested a review from a team as a code owner August 31, 2026 10:50
@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Aug 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The generated schema and QL hierarchy consistently reflect the new union type.

Review tier: Balanced
Findings: None

What changed in this PR

Adds a unified Callable union type for callable AST nodes.

Changes:

  • Defines callable node kinds in the AST schema.
  • Regenerates the database schema and QL class hierarchy.
File Description
unified/​extractor/​ast_types.yml Defines callable node membership.
unified/​ql/​lib/​unified.dbscheme Adds the generated callable union.
unified/​ql/​lib/​codeql/​unified/​internal/​Ast.qll Exposes Callable and updates subclasses.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants