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

Reporting ill-indented multi-line strings #1132

Open
andrevidela opened this issue Feb 26, 2021 · 0 comments
Open

Reporting ill-indented multi-line strings #1132

andrevidela opened this issue Feb 26, 2021 · 0 comments

Comments

@andrevidela
Copy link
Collaborator

#1097 introduces multiline strings but the error reporting does not point to the correct areas

hello : String
hello = """
      hello
        """

should point to the excess characters on the left, the error should be reported as:

Error: While processing multi-line string. Line is less indented than the closing delimiter
      hello
      ^^"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants