-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Improve multi-line string syntax #213
Comments
Worked on by @Gauteab |
The syntax would still be unambiguous if we use only a single text =
"
First
Second
" instead of text =
"""
First
Second
""" Would this be more confusing than nice? I feel like it would be easier to learn/remember. Changing from single-line to multi-line string would also be more seamless. |
Discovered this current behavior when trying to test terminal output in gren-tui:
I guess that would be fixed by this?
Until this is done should this be labelled as a bug? Kind of makes multi-line strings unusable in places with Very Significant whitespace. |
Yes, this is a bug. |
"""
should determine the indentation level to be removed.\n
it should be a syntax error (The empty string,""""""
, is not valid)"""
should have the same indentation level.The text was updated successfully, but these errors were encountered: