mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
As of now, the sema checks for os_log allow only string interpolations to be passed
to the log calls. E.g. logger.log(foo("message")) would not be allowed. This PR
relaxes this requirement and allows it as long as foo is annotated as
@_semantics("constant_evaluable").
<rdar://problem/65215054>
15 KiB
15 KiB