You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following test function fails to compile due to the use of anonymous closure arguments along with the macro expansion generating another closure to contain them:
Description
The following test function fails to compile due to the use of anonymous closure arguments along with the macro expansion generating another closure to contain them:
Errors vary slightly depending on the exact expression and compiler version.
Expected behavior
We should be able to expand this macro correctly by substituting our own labels for dollar identifiers in the initial expression.
Actual behavior
Compiler go splat.
Steps to reproduce
Try to build the test function above.
swift-testing version/commit hash
808e44f
Swift & OS version (output of
swift --version ; uname -a
)No response
The text was updated successfully, but these errors were encountered: