Issue minimized from a run of the Open Community Build
When using izumi-reflect in newer scala versions, the following error is emitted.
java.lang.RuntimeException: TYPEREPR, UNSUPPORTED: class dotty.tools.dotc.core.Types$FlexibleType - FlexibleType(OrType(TypeRef(ThisType(TypeRef(NoPrefix,module class api)),trait RedissonClient),TypeRef(ThisType(TypeRef(NoPrefix,module class scala)),class Null)),TypeRef(ThisType(TypeRef(NoPrefix,module class api)),trait RedissonClient))
This error is emitted from
|
|
|
case o => |
|
log(s"TYPEREPR UNSUPPORTED: $o") |
|
throw new RuntimeException(s"TYPEREPR, UNSUPPORTED: ${o.getClass} - $o") |
|
|
and can be fixed by adding a new case for FlexibleType and recursing on the underlying type.
Issue minimized from a run of the Open Community Build
When using izumi-reflect in newer scala versions, the following error is emitted.
This error is emitted from
izumi-reflect/izumi-reflect/izumi-reflect/src/main/scala-3/izumi/reflect/dottyreflection/Inspector.scala
Lines 153 to 157 in 8158368
and can be fixed by adding a new case for FlexibleType and recursing on the underlying type.