Skip to content

Update function annotation location#263

Merged
tlively merged 1 commit intomainfrom
tlively-patch-3
Jan 29, 2026
Merged

Update function annotation location#263
tlively merged 1 commit intomainfrom
tlively-patch-3

Conversation

@tlively
Copy link
Member

@tlively tlively commented Jan 29, 2026

As discussed in #251, function annotations should go before function definitions rather than after the func keyword. Update the example in CodeMetadata.md accordingly. Also update the example so that annotations consistently go on their own lines.

Fixes #251.

As discussed in #251, function annotations should go before function definitions rather than after the `func` keyword. Update the example in CodeMetadata.md accordingly. Also update the example so that annotations consistently go on their own lines.

Fixes #251.
@tlively tlively requested a review from kripken January 29, 2026 18:18
@tlively
Copy link
Member Author

tlively commented Jan 29, 2026

cc @yuri91, @kripken

@tlively tlively merged commit 57f2047 into main Jan 29, 2026
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.

Ambiguity in placement of metadata.code function annotations

2 participants