Commit Graph

5 Commits

Author SHA1 Message Date
Rintaro Ishizaki
1fb78394ce [Macros] Remove unused dependency to SwiftOperators
ObservationMacros and SwiftMacros don't use anything in SwiftOperators
2024-06-17 15:39:03 -07:00
Konrad `ktoso` Malawski
c42ecb0908 [Distributed] Remove "Stdlib" in macro as it is not understood in user code (#74417) 2024-06-14 23:03:33 +09:00
Konrad `ktoso` Malawski
b77685efe0 [Distributed] Remove diagnostic emitting from macro, rely on compiler
The macro cannot diagnose some situations, or rather, would diagnose too
aggressively, because it cannot inspect the type declarations of all
invokved types, and therefore we're unable to reliably report errors
only when necessary.

Originally I thought we don't want to emit macro code that "may fail to
compile" but we don't really have a choice.

This patch removes a manual diagnostic, and enables more correct code to
properly use @Resolvable protocols.
2024-05-15 16:12:50 +09:00
Konrad `ktoso` Malawski
7224178b85 [TaskLocal] Carry access control modifiers into synthesized property (#73475) 2024-05-07 20:13:23 +09:00
Pavel Yaskevich
e6b445b8d1 [SE-0428] NFC: Rename _DistributedProtocol macro into Resolvable
The proposal was [accepted with modifications](https://forums.swift.org/t/accepted-with-modifications-se-0428-resolve-distributedactor-protocols/71366)

The decision was made to change the spelling of the attached macro
in the proposal from @DistributedProtocol to `@Resolvable`
(or `@Distributed.Resolvable` if disambiguation is needed).
2024-04-22 14:18:11 -07:00