Skip to content

Conversation

laurentlb
Copy link
Contributor

@laurentlb laurentlb commented Oct 14, 2025

Type annotations are already supported in function declarations (since #900). Supporting it in assignments is something users expect too (already supported in Starlark-Rust).

e.g.
s: str = "hello"

Fixes #1381

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.

Support inline type annotations

1 participant