Skip to content

Conversation

@soutaro
Copy link
Owner

@soutaro soutaro commented Dec 16, 2024

Type assertion should be attached to the value of keyword arg pair, not the pair node itself.

This allows writing type assertion for keyword args:

foo(
  array: [] #: Array[String]
)

This issue is reported from @Little-Rubyist. Thanks! 🙏

@soutaro soutaro added this to the Steep 1.9.x milestone Dec 16, 2024
@soutaro soutaro enabled auto-merge December 16, 2024 12:50
@soutaro soutaro merged commit d57bf9c into master Dec 16, 2024
19 checks passed
@soutaro soutaro deleted the kwargs-assertion branch December 16, 2024 12:54
@soutaro soutaro added the Released The PR is already included in a published release label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Released The PR is already included in a published release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants