scala3
scala3 copied to clipboard
Use TypeComparer.constValue in TypeEval
This uses TypeComparer.constValue to extract the constant in TypeEval.
This is also how constValue is implemented. So I think also using it in
TypeEval make behavior around this more consistent and predictable.
This fixes: #24717