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

Fix #10607 - Structs lines and ByLineCopy cannot be usefully constructed in @safe code #9035

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

schveiguy
Copy link
Member

Still need

  • bug report
  • test

I just first want to see that it doesn't break anything.

@dlang-bot
Copy link
Contributor

dlang-bot commented Jul 29, 2024

Thanks for your pull request, @schveiguy!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

⚠️⚠️⚠️ Warnings ⚠️⚠️⚠️

  • In preparation for migrating from Bugzilla to GitHub Issues, the issue reference syntax has changed. Please add the word "Bugzilla" to issue references. For example, Fix Bugzilla Issue 12345 or Fix Bugzilla 12345.(Reminder: the edit needs to be done in the Git commit message, not the GitHub pull request.)

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + phobos#9035"

@schveiguy
Copy link
Member Author

Replaces #9034

std/stdio.d Outdated Show resolved Hide resolved
@schveiguy
Copy link
Member Author

I'm completely confused on the style problem. What style thing is wrong?

@thewilsonator
Copy link
Contributor

That is unrelated

@LightBender
Copy link
Contributor

@schveiguy can you complete the Bug Report and Test cases? Will merge once those are in. The style failures appear spurious.

0xEAB added a commit to 0xEAB/phobos that referenced this pull request Jan 1, 2025
@0xEAB 0xEAB changed the title Properly mark lines constructor Fix #10607 - Structs lines and ByLineCopy cannot be usefully constructed in @safe code Jan 1, 2025
@0xEAB 0xEAB marked this pull request as ready for review January 1, 2025 21:54
@0xEAB 0xEAB requested a review from CyberShadow as a code owner January 1, 2025 21:54
@0xEAB 0xEAB requested a review from thewilsonator January 1, 2025 21:54
@0xEAB
Copy link
Member

0xEAB commented Jan 1, 2025

Looks like the macOS GHA got stuck once again :/

… constructed in `@safe` code

Originally known as "Properly mark lines constructor".

Co-authored-by: Elias Batek <[email protected]>
@thewilsonator thewilsonator merged commit ad8ee55 into dlang:master Jan 1, 2025
9 checks passed
@schveiguy schveiguy deleted the linessafe branch January 2, 2025 02:24
@schveiguy
Copy link
Member Author

Ah, thanks @0xEAB I had this tab open and was planning on getting to it. Sorry.

@0xEAB
Copy link
Member

0xEAB commented Jan 2, 2025

No worries, you’re welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants