Files
swift-mirror/lib/SILOptimizer/Mandatory/LowerHopToActor.cpp
Erik Eckstein 5fb41a9c55 LowerHopToActor: insert borrow scope if an optional actor value is owned
The inserted switch_enum must not consume the actor value, therefore a borrow scope is needed.
Fixes an ownership error.
2025-01-30 15:09:51 +01:00

13 KiB