Skip to content

Remove side effect from SetPlaygroundTransformEnabled() #8908

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

Conversation

adrian-prantl
Copy link

The function was also setting the langiage to Swift, which can (after the API change have the unwanted side-effect of also resetting the language version to the default.

@adrian-prantl
Copy link
Author

@swift-ci test

Copy link

@JDevlieghere JDevlieghere left a comment

Choose a reason for hiding this comment

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

LGTM.

(fyi you have a small typo in the description (langiage) that you might want to fix when squashing & merging)

The function was also setting the language to Swift, which can (after
the API change have the unwanted side-effect of also resetting the
language version to the default.
@adrian-prantl adrian-prantl force-pushed the languge-version-sideeffect branch from a69c7af to aa3bf5d Compare June 17, 2024 17:28
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 0ec34ac into swiftlang:swift/release/6.0 Jun 18, 2024
3 checks passed
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