Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Feb 3, 2026

We already had some code for collecting annotations on top-level module
fields like functions, but they were only passed to the parsing context
in the initial parsing phase. Fix the parser so that the annotations are
passed in all phases. This was tested locally by printing function
annotations, but will not be testable for real until we start doing
something with the annotations.

Fixes #8260.

We already had some code for collecting annotations on top-level module
fields like functions, but they were only passed to the parsing context
in the initial parsing phase. Fix the parser so that the annotations are
passed in all phases. This was tested locally by printing function
annotations, but will not be testable for real until we start doing
something with the annotations.

Fixes #8260.
@tlively tlively requested a review from kripken February 3, 2026 01:46
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Great!

@tlively tlively merged commit 9acdd65 into main Feb 3, 2026
17 checks passed
@tlively tlively deleted the function-annotations branch February 3, 2026 19:07
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.

Function-level annotation support

2 participants