Skip to content

Fill match arms doesn't work with arrays #13970

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

Closed
lnicola opened this issue Jan 17, 2023 · 0 comments · Fixed by #13978
Closed

Fill match arms doesn't work with arrays #13970

lnicola opened this issue Jan 17, 2023 · 0 comments · Fixed by #13978
Labels
A-assists C-feature Category: feature request S-actionable Someone could pick this issue up and work on it right now

Comments

@lnicola
Copy link
Member

lnicola commented Jan 17, 2023

Feel free to close if duplicated. Perhaps the action is also not fired with other structures?

let foo = true;
let bar = true;

// Fires auto-completion
match (foo, bar) {}

// Meh, no action
match [foo, bar] {}

Reported in #13643 by @c410-f3r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-assists C-feature Category: feature request S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant