8000 Expand `array(splat(expr` node by soutaro · Pull Request #1347 · soutaro/steep · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Expand array(splat(expr node #1347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Expand array(splat(expr node #1347

merged 1 commit into from
Nov 22, 2024

Conversation

soutaro
Copy link
Owner
@soutaro soutaro commented Nov 22, 2024

This happens with *node node, at masgn right hand side.

a, b = *regexp.match("foo")     # The expected type of a and b is `String?`, but was `String | [] | nil`

This happens with `*node` node, at masgn right hand side.
@soutaro soutaro added this to the Steep 1.9 milestone Nov 22, 2024
@soutaro
Copy link
Owner Author
soutaro commented Nov 22, 2024

@rhiroe reported this problem. Thanks!

@soutaro soutaro merged commit c1ef9c3 into master Nov 22, 2024
18 checks passed
@soutaro soutaro deleted the splat-masgn branch November 22, 2024 08:30
@soutaro soutaro added the Released The PR is already included in a published release label Dec 6, 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.

1 participant
0