Skip to content

Conversation

@aschwaighofer
Copy link
Contributor

They don't have a context and therefore are not consumed.

Fixes a failing assert.

rdar://59046275

They don't have a context and therefore are not consumed.

Fixes a failing assert.

rdar://59046275
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test

@aschwaighofer aschwaighofer requested a review from atrick January 31, 2020 16:59
Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks Arnold.

aschwaighofer added a commit to aschwaighofer/swift that referenced this pull request Jan 31, 2020
They don't have a context and therefore are not consumed.

Fixes a failing assert.

* Description: The compiler asserts on code that uses
withoutActuallyEscaping on a ‘c’ convention closure.

* Scope: Compiling source code that uses that combination will assert
and fail to compile. In no asserts build the compilation succeeds and
generates correct code (i.e the assert failure is inconsequential). The
problem existed in previously released version of the compiler.

* Testing: A swift regression test was added.

* Reviewed: Andrew T

Original PR: swiftlang#29569

rdar://59046275
@aschwaighofer aschwaighofer merged commit c4bd50c into swiftlang:master Jan 31, 2020
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