Skip to content

Conversation

@eeckstein
Copy link
Contributor

In case of a tuple as value type, the initializer and setter takes the tuple elements as separate arguments. This was just not handled in the assign_by_wrapper instruction lowering.

rdar://problem/53866473

@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein eeckstein requested a review from DougGregor August 8, 2019 16:40
@swift-ci
Copy link
Contributor

swift-ci commented Aug 8, 2019

Build failed
Swift Test OS X Platform
Git Sha - aa76b74b02d4fddd8640229a7a525a2f0dc94c9a

@swift-ci
Copy link
Contributor

swift-ci commented Aug 8, 2019

Build failed
Swift Test Linux Platform
Git Sha - aa76b74b02d4fddd8640229a7a525a2f0dc94c9a

@slavapestov
Copy link
Contributor

@gottesmm Do we have any utilities that we can reuse here?

In case of a tuple as value type, the initializer and setter takes the tuple elements as separate arguments. This was just not handled in the assign_by_wrapper instruction lowering.

rdar://problem/53866473
@eeckstein eeckstein force-pushed the fix-raw-inst-lowering branch from aa76b74 to 282907f Compare August 8, 2019 19:46
@eeckstein
Copy link
Contributor Author

@swift-ci test

1 similar comment
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein eeckstein merged commit 5a8947c into swiftlang:master Aug 9, 2019
@eeckstein eeckstein deleted the fix-raw-inst-lowering branch August 9, 2019 06:42
@eeckstein
Copy link
Contributor Author

@slavapestov I had the same thought and did some search in the code base, but couldn't find anything useful (which doesn't mean it does not exist).

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.

3 participants