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

Commit
126 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
Parents
Loading