Skip to content

Conversation

@LilithHafner
Copy link
Member

  • Still assume Substring{String} has pointer
  • Add tests

Fixes #505

Still assume `Substring{String}` has `pointer`

Add tests
for compuat with 1.2 and earlier
Copy link
Member

@c42f c42f left a comment

Choose a reason for hiding this comment

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

Looks perfect, thanks ❤️

@c42f
Copy link
Member

c42f commented Oct 6, 2024

The test failure here seems to just be one CI machine having a bad day 🤷‍♀️

@LilithHafner LilithHafner merged commit ad5e2b9 into main Oct 6, 2024
35 checks passed
@LilithHafner LilithHafner deleted the lh/copy-substring-abstractstring branch October 6, 2024 11:21
c42f pushed a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…ng/JuliaSyntax.jl#506)

* Don't assume that `SubString` has `pointer` and copy instead

* Still assume `Substring{String}` has `pointer`

* Test with `Test.GenericString`
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.

Error: JuliaSyntax parser failed — falling back to flisp!

3 participants