Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Binding SG] Add warning when referencing results of other source generators #23646

Conversation

jkurdek
Copy link
Member

@jkurdek jkurdek commented Jul 17, 2024

Description of Change

Source generators operate independently by design, meaning they cannot utilize each other's outputs. In the case of the Binding Source Generator (SG), this implies that it cannot use the results of XamlG. This change adds a warning when lambda parameters or the lambda body contain elements that cannot be resolved during source generation.

Issues Fixed

Fixes #23531

@jkurdek jkurdek requested a review from simonrozsival July 17, 2024 08:16
@jkurdek jkurdek requested a review from a team as a code owner July 17, 2024 08:16
@jkurdek jkurdek requested review from rmarinho and jsuarezruiz July 17, 2024 08:16
@simonrozsival simonrozsival enabled auto-merge (squash) July 19, 2024 08:58
@simonrozsival simonrozsival merged commit 372e2ca into dotnet:net9.0 Jul 19, 2024
111 checks passed
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Aug 2, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2024
@samhouts samhouts added the fixed-in-net8.0-nightly This may be available in a nightly release! label Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-net8.0-nightly This may be available in a nightly release! fixed-in-net9.0-nightly This may be available in a nightly release!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants