Actions
Architecture #26328
openSome more changes needed for scala 3 migrations
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Architecture - Code maintenance
Target version:
Fix check:
Checked
Regression:
No
Description
An issue to embed several little changes that are needed to Scala 3 migration.
They seem inocuious (yes, FLW). They should be done in 8.1 to simplify upmerges:
- s/discarded Seq()/ZIO.unit
https://github.com/Normation/rudder/pull/6148/files
- UIO[Foo].catchAll(log).unit resolves the value as Any whereas UIO[Foo].unit.catchAll(log) does not, we should use the latter.
https://github.com/Normation/rudder/pull/6150
- In scala 3, with -Werror, an IO can't have Object on the error channel unless it's done on purpose.
In this case, it seems more a programming error than a deliberate decision
https://github.com/Normation/rudder/pull/6146
Actions