Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Assert that tap vars are in the current DeclContext #20303
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.