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

Error on folded scalar in code mode #165

Open
ingydotnet opened this issue Jun 27, 2024 · 0 comments
Open

Error on folded scalar in code mode #165

ingydotnet opened this issue Jun 27, 2024 · 0 comments
Labels
compiler Language and compiler issues

Comments

@ingydotnet
Copy link
Member

ingydotnet commented Jun 27, 2024

YS errors on block sequences and flow collections when in "code mode".
The reason is twofold:

  • They aren't really valuable in code mode
  • When you see them, you must be in data mode. Improves recognition when reading YS code.

Folded scalars arguably fall into the same are (although they aren't very useful in data mode either).

Goal: Error on folded scalars in code mode.

@ingydotnet ingydotnet added the compiler Language and compiler issues label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Language and compiler issues
Projects
Archived in project
Development

No branches or pull requests

1 participant