Skip to content

Remove unnecessary type casting#1736

Draft
compnerd wants to merge 1 commit into
swiftlang:mainfrom
compnerd:typecast
Draft

Remove unnecessary type casting#1736
compnerd wants to merge 1 commit into
swiftlang:mainfrom
compnerd:typecast

Conversation

@compnerd
Copy link
Copy Markdown
Member

The compiler now imports these as their canonical type, allowing us to directly use without the explicit type cast.

@grynspan
Copy link
Copy Markdown
Contributor

Well… clearly not. 😄

Keep in mind we intend for our main branch to compile against the previous release (which is still 6.3 for now).

The compiler now imports these as their canonical type, allowing us to
directly use without the explicit type cast.
@compnerd
Copy link
Copy Markdown
Member Author

Clearly it does! You just didn't cherry-pick all the necessary bundled changes :)

We will likely have to split this into two changes - force the types to the correct shapes where we were incorrect, and then we can do the clean up on the explicit types later.

@grynspan
Copy link
Copy Markdown
Contributor

Oh I figured there were upstream changes we'd need. But we won't be able to accept this PR while we still need to build for 6.3.

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