swift
a9d72fb6 - [Sema] Avoid applying diagnostic hack to caller-side expression macros

Commit
163 days ago
[Sema] Avoid applying diagnostic hack to caller-side expression macros We can't assume that type-checking the expression macro in the parameter will also fail if it fails at the call site since e.g name lookup may differ. Make sure we only apply this logic to simple literals. rdar://154771596
Author
Committer
Parents
Loading