Macro in global is not working #72655
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
I've been trying experiments with macro then found interesting behavior.
The second one should be [1] as same as the last elements.
In my opinion, there is a problem with global definition of macro.
Reproduction
Expected behavior
[0]
[1]
[0]
[1]
Environment
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
Additional information
Macro expansion of each #Predicate is correct.
The text was updated successfully, but these errors were encountered: