Skip to content

Handle cross-package callable fields during QIR codegen#3470

Merged
idavis merged 9 commits into
mainfrom
iadavis/fix-cross-package-fir-codegen
Jul 20, 2026
Merged

Handle cross-package callable fields during QIR codegen#3470
idavis merged 9 commits into
mainfrom
iadavis/fix-cross-package-fir-codegen

Conversation

@idavis

@idavis idavis commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes defunctionalization of callable fields flowing through constructors and factories, including across package boundaries.
  • Associates FIR transform diagnostics with their owning package so errors point to the correct source file.
  • Adds Rust, language service, and Python regression coverage for adaptive QIR generation and cross-package callables.

@idavis idavis self-assigned this Jul 15, 2026
@idavis idavis changed the title Fixes defunctionalization across packages Handle cross-package callable fields during QIR codegen Jul 15, 2026
@idavis
idavis force-pushed the iadavis/fix-cross-package-fir-codegen branch from 5fe46e2 to 6485174 Compare July 17, 2026 13:20
idavis added 4 commits July 17, 2026 06:20
…tors and factories, including across package boundaries, defers capability checks until after QIR transforms for string entry expressions.
@idavis
idavis force-pushed the iadavis/fix-cross-package-fir-codegen branch from 6485174 to a795900 Compare July 17, 2026 13:20
@idavis
idavis marked this pull request as ready for review July 17, 2026 14:24
Comment thread source/compiler/qsc/src/codegen/tests.rs
Comment thread source/compiler/qsc/src/compile.rs Outdated
@idavis
idavis enabled auto-merge July 20, 2026 20:20
@idavis
idavis added this pull request to the merge queue Jul 20, 2026
Merged via the queue into main with commit 0e988ce Jul 20, 2026
13 checks passed
@idavis
idavis deleted the iadavis/fix-cross-package-fir-codegen branch July 20, 2026 20:40
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.

2 participants