Skip to content

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Nov 3, 2018

This assertion would have caught the last-minute bug in the string interpolation rework, but I'm not sure it actually holds in all cases—I've already found one exception (single-expression closures) and there may be others.

I'm running it against more code to see if there are other special cases I need to account for, or if this is not a general rule I can rely on.

@beccadax
Copy link
Contributor Author

beccadax commented Nov 3, 2018

@swift-ci please test

@beccadax
Copy link
Contributor Author

beccadax commented Nov 3, 2018

@swift-ci please test source compatibility

@swift-ci
Copy link
Contributor

swift-ci commented Nov 3, 2018

Build failed
Swift Test Linux Platform
Git Sha - efd164f2335716b0cead8d56244a9ceaa2a97b31

@beccadax
Copy link
Contributor Author

beccadax commented Nov 5, 2018

Flaky Linux test strikes again.

@beccadax
Copy link
Contributor Author

beccadax commented Nov 5, 2018

@swift-ci please test linux platform

@swift-ci
Copy link
Contributor

swift-ci commented Nov 5, 2018

Build failed
Swift Test Linux Platform
Git Sha - efd164f2335716b0cead8d56244a9ceaa2a97b31

This assertion would have caught the last-minute bug in the string interpolation rework.
@beccadax beccadax force-pushed the asserting-my-correctness branch from efd164f to f0267ad Compare November 6, 2018 19:18
@beccadax
Copy link
Contributor Author

beccadax commented Nov 6, 2018

@swift-ci please test source compatibility

@beccadax
Copy link
Contributor Author

beccadax commented Nov 6, 2018

@swift-ci please smoke test

@beccadax beccadax changed the title [DO NOT MERGE] Assert that tap vars are in the current DeclContext Assert that tap vars are in the current DeclContext Nov 6, 2018
@beccadax beccadax requested a review from xedin November 6, 2018 19:51
@beccadax
Copy link
Contributor Author

@swift-ci please test source compatibility

@beccadax
Copy link
Contributor Author

The Tagged source compatibility failure is known to be caused by something else.

@beccadax beccadax merged commit 8c969b8 into swiftlang:master Nov 14, 2018
@beccadax beccadax deleted the asserting-my-correctness branch November 14, 2018 01:19
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