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

reserved keywords behave differently #2187

Open
bo-ku-ra opened this issue Oct 31, 2024 · 3 comments
Open

reserved keywords behave differently #2187

bo-ku-ra opened this issue Oct 31, 2024 · 3 comments

Comments

@bo-ku-ra
Copy link
Contributor

ex.
https://play.d2lang.com/?script=UiouqcxJVeLlAgQAAP__&

"style"

err: "style" expected to be set to a map of key-values, or contain an additional keyword like "style.opacity: 0.4"

https://play.d2lang.com/?script=UspJrEwtKlbiUipOTs1LLMrMB7NLUguKlbgAAQAA__8%3D&

"layers"
"scenarios"
"steps"

no error messages

@cyborg-ts cyborg-ts added this to D2 Oct 31, 2024
@alixander
Copy link
Collaborator

this is mostly related to #477

Once that issue's closed, this will be too

@bo-ku-ra
Copy link
Contributor Author

bo-ku-ra commented Nov 7, 2024

really the same? what is below?

https://play.d2lang.com/?script=Ki6pzEnl5QIEAAD__w%3D%3D&

style

https://play.d2lang.com/?script=ykmsTC0q5uUqTk7NSyzKzAcxS1ILinm5AAEAAP__&

layers
scenarios
steps

@alixander
Copy link
Collaborator

Ah you're right. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants