Skip to content

Kotlin 2.0.21 & Return 'out RenderingT' variance #1328

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

steve-the-edwards
Copy link
Contributor

@steve-the-edwards steve-the-edwards commented May 23, 2025

Fixes #1327

We do rely on covariance for RenderingT for Workflow subtypes that subtype the RenderingT. Also we don't need to remove it due to UnsafeVariance.

Also dropping back down to 2.0.21 from 2.1.21 since that is what we currently use internally and this way we don't have to worry about matching binary compatibility.

@@ -0,0 +1 @@
registry=https://registry.yarnpkg.com
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another attempt to try and prevent local config from changing the registry specified by yarn.lock when we regenerate it for new versions. The previous .yarnrc did not work 🤔 . Either way I've manually corrected the yarn.lock again.

We do rely on covariance for `RenderingT` for Workflow subtypes that subtype the `RenderingT`. Also we don't need to remove it due to UnsafeVariance.
@steve-the-edwards steve-the-edwards force-pushed the sedwards/add-render-covariance branch from c653ae3 to 2369102 Compare May 23, 2025 20:01
@steve-the-edwards steve-the-edwards merged commit d7d8a1f into main May 23, 2025
44 checks passed
@steve-the-edwards steve-the-edwards deleted the sedwards/add-render-covariance branch May 23, 2025 20:39
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.

Add back covariance for RenderingT
2 participants