Closed ahoppen closed 1 month ago
Now that we have rdar://123403268, we can change the default implementation of MacroExpansionContext.lexicalContext to return an empty array and be deprecated, making not implementing lexicalContext a compile-time warning instead of a runtime error.
MacroExpansionContext.lexicalContext
lexicalContext
rdar://123410459
@swift-ci Please test
Now that we have rdar://123403268, we can change the default implementation of
MacroExpansionContext.lexicalContext
to return an empty array and be deprecated, making not implementinglexicalContext
a compile-time warning instead of a runtime error.rdar://123410459