Project

General

Profile

Actions

Architecture #26328

open

Some more changes needed for scala 3 migrations

Added by François ARMAND 16 days ago. Updated 3 days ago.

Status:
Pending release
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Effort required:
Name check:
To do
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

Also available in: Atom PDF