Replies: 4 comments
-
I'm also curious about this. |
Beta Was this translation helpful? Give feedback.
-
yeah you're not the first one to bring up whitespace (and thus, comments) inside typespecs. I guess honestly it just didn't come up, and being more restrictive seemed like a great idea. It's something we can discuss as part of 2.0, though? |
Beta Was this translation helpful? Give feedback.
-
This kinda extends to a more general question about whitespace - where should it be allowed or disallowed? Should |
Beta Was this translation helpful? Give feedback.
-
I've made issues for this for kdl 2.0: |
Beta Was this translation helpful? Give feedback.
-
When writing my implementation I was quite confused that a comment like this is not allowed:
Why not? it seems like commenting something about a type could be useful. In fact any place where no whitespace is allowed, no comments are allowed either. It seems like comments should be allowed between any token.
Beta Was this translation helpful? Give feedback.
All reactions