Visitar URL original
Fix the end location of an implicitly-concatenated string by harupy · Pull Request #4324 · RustPython/RustPython · GitHub
The Wayback Machine - https://web.archive.org/web/20260812170631/https://github.com/RustPython/RustPython/pull/4324
Skip to content

Fix the end location of an implicitly-concatenated string - #4324

Merged
DimitrisJim merged 4 commits into
RustPython:mainfrom
harupy:fix-end-location-of-concatenated-string
Dec 10, 2022
Merged

Fix the end location of an implicitly-concatenated string#4324
DimitrisJim merged 4 commits into
RustPython:mainfrom
harupy:fix-end-location-of-concatenated-string

Conversation

@harupy

@harupy harupy commented Dec 10, 2022 •

Copy link
Copy Markdown
Contributor

Before the fix:

"hello" "world"
      ^
      end_location

After the fix:

"hello" "world"
              ^
              end_location

@harupy harupy closed this Dec 10, 2022
@harupy harupy reopened this Dec 10, 2022
@DimitrisJim

Copy link
Copy Markdown
Member

another test passing: UNEXPECTED SUCCESS: test_continued_str (test.test_ast.EndPositionTests), just like the last time remove the deco from it and the failures should go.

@harupy

harupy commented Dec 10, 2022

Copy link
Copy Markdown
Contributor Author

@DimitrisJim Thanks for the comment! Removed the decorator.

@DimitrisJim DimitrisJim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix @harupy

@DimitrisJim
DimitrisJim merged commit 0723271 into RustPython:main Dec 10, 2022
@harupy
harupy deleted the fix-end-location-of-concatenated-string branch December 10, 2022 12:43
@harupy harupy mentioned this pull request Dec 10, 2022
DimitrisJim added a commit that referenced this pull request Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants