Skip to content

Conversation

@Azoy
Copy link
Contributor

@Azoy Azoy commented Apr 7, 2019

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

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

Looks good. In the future, instead of splitting the code change and test change into separate commits, I would instead suggest one commit per bug fix. This way it is clear which code change corresponds to which bug fix.

@slavapestov
Copy link
Contributor

@swift-ci Please smoke test

@slavapestov
Copy link
Contributor

@swift-ci Please test source compatibility

@dan-zheng
Copy link
Contributor

Oops, I just found SR-9239 and completely missed SR-10313 - my bad.

@pschuh made similar @dynamicCallable changes in #22366, but didn't yet upstream changes from tensorflow branch to master.

So there may be some duplicate code and code divergence across branches. Not a big deal, except that it'd be nice (for the Swift for TensorFlow team) if someone could unify the code across the branches to facilitate downstreaming changes from master to tensorflow.

@Azoy
Copy link
Contributor Author

Azoy commented Apr 7, 2019

@dan-zheng Oh I hadn't noticed this was fixed on tensorflow. How would one go about unifying when this is ready?

@dan-zheng
Copy link
Contributor

@dan-zheng Oh I hadn't noticed this was fixed on tensorflow. How would one go about unifying when this is ready?

It should just be a matter of copy-pasting the new code from one branch to the other. The new code on master seems a bit cleaner than the code on tensorflow, so I think copying from master to tensorflow makes sense.

Would you (please) like to help us unify code?

cc @pschuh

@Azoy
Copy link
Contributor Author

Azoy commented Apr 7, 2019

@slavapestov @dan-zheng alright this should be ready to go now.

Copy link
Contributor

@dan-zheng dan-zheng left a comment

Choose a reason for hiding this comment

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

Awesome!

@jrose-apple
Copy link
Contributor

@swift-ci Please smoke test

Azoy added 2 commits July 5, 2019 20:46
add tests dont assume dict type dont assume member ref ast formatting more formatting Update getTypeWitnessByName
@Azoy
Copy link
Contributor Author

Azoy commented Jul 6, 2019

@jrose-apple I've fixed the compile error and added a test case for SR-10753

@slavapestov
Copy link
Contributor

@swift-ci Please test

@slavapestov
Copy link
Contributor

@swift-ci Please test source compatibility

@swift-ci
Copy link
Contributor

swift-ci commented Jul 6, 2019

Build failed
Swift Test Linux Platform
Git Sha - 654afa269b9c13b1674dd69a8670b4ccc1c16307

@swift-ci
Copy link
Contributor

swift-ci commented Jul 6, 2019

Build failed
Swift Test OS X Platform
Git Sha - 654afa269b9c13b1674dd69a8670b4ccc1c16307

@jrose-apple jrose-apple self-assigned this Jul 6, 2019
@slavapestov slavapestov merged commit 703c39d into swiftlang:master Jul 6, 2019
@Azoy Azoy deleted the sr-10313 branch July 6, 2019 18:10
Azoy pushed a commit to Azoy/swift that referenced this pull request Jul 8, 2019
[CSApply] Restructure the implicit AST when applying @dynamicCallable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants