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

compiler warning for commas in array classes #1375

Closed
alixander opened this issue Jun 6, 2023 · 0 comments · Fixed by #1376
Closed

compiler warning for commas in array classes #1375

alixander opened this issue Jun 6, 2023 · 0 comments · Fixed by #1376

Comments

@alixander
Copy link
Collaborator

it's quite common to get this wrong. perhaps if the class name is not found with the comma, we give a helpful error msg

classes: {
  x: { ... }
}

a.class: [x, y]
class `x, y` does not exist, but class `x` does. Did you mean to separate classes with `;`?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant