scala3
scala3 copied to clipboard
Add @retainsArg to read-only and reach capabilities
- Mark
reachCapabilityandreadOnlyCapabilityas@retainsArg, similar to #20232. - Update tests for retainsArg
Isn't needed after https://github.com/scala/scala3/pull/22909, though the tests might be handy