swift
11a4ff56 - [Macros] Properly compute the innermost declaration context of a macro.

Commit
2 years ago
[Macros] Properly compute the innermost declaration context of a macro. How did we go this long without having the right context? Who knows. The fix is trivial and obvious. The failure mode here is that we wouldn't get an appropriate generic context in the result type of a macro, so we would complain about generic parameters not meeting their own generic requirements.
Author
Parents
Loading