Skip to content
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

named tuple spacing rule cause error #232

Closed
5 tasks done
subframe7536 opened this issue Aug 7, 2023 · 0 comments
Closed
5 tasks done

named tuple spacing rule cause error #232

subframe7536 opened this issue Aug 7, 2023 · 0 comments

Comments

@subframe7536
Copy link
Contributor

subframe7536 commented Aug 7, 2023

Describe the bug

named tuple allow function as member, but the rule only match with words

if the tuple contains array function, spacesAfterColon will be undefined

Reproduction

https://regex101.com/r/iTGyt3/1

System Info

all platforms, all browser

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@antfu antfu closed this as completed in 3a2c549 Aug 7, 2023
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

No branches or pull requests

1 participant