Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

TensorFlow: silence a warning from the Swift compiler #1153

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

compnerd
Copy link
Contributor

The trailing closure application to the function can be confused with
the function body as per the diagnostic emitted by the swift compiler.
With the recent changes to the application of trailing closures and
support for multiple trailing closures, the syntax is accepted but is
confusing. Convert from the trailing closure to an inline closure to
make this explicit.

The trailing closure application to the function can be confused with
the function body as per the diagnostic emitted by the swift compiler.
With the recent changes to the application of trailing closures and
support for multiple trailing closures, the syntax is accepted but is
confusing.  Convert from the trailing closure to an inline closure to
make this explicit.
@compnerd compnerd merged commit 1c68f1d into tensorflow:main Dec 16, 2020
@compnerd compnerd deleted the closure branch December 16, 2020 17:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants