Skip to content

Conversation

@asukaminato0721
Copy link
Contributor

fix #1488

Exposed binding_idx_for_name so bindings logic can inspect the current flow’s key and style when resolving aliases

Updated special-export detection to follow NameAssign/phi chains with cycle guards, allowing assignment aliases to inherit their source special form

Stopped treating bare Annotated assignments as implicit type aliases so aliasing the special form no longer triggers invalid-annotation errors

@meta-cla meta-cla bot added the cla signed label Nov 5, 2025
@asukaminato0721 asukaminato0721 marked this pull request as ready for review November 5, 2025 09:35
Copy link
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

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

This looks pretty good to me!

Back to you to think about whether we can drop phi support for now, and a few style nits

@asukaminato0721 asukaminato0721 marked this pull request as draft November 11, 2025 07:08
@asukaminato0721 asukaminato0721 marked this pull request as ready for review November 11, 2025 08:35
Copy link
Contributor

@stroxler stroxler left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me, I'll try to get it merged

@meta-codesync
Copy link

meta-codesync bot commented Nov 11, 2025

@stroxler has imported this pull request. If you are a Meta employee, you can view this in D86778355.

Copy link
Contributor

@yangdanny97 yangdanny97 left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@meta-codesync
Copy link

meta-codesync bot commented Nov 14, 2025

@stroxler merged this pull request in ead20ac.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simple alias to typing.Annotated is not recognized

5 participants