Revert "Fix conversion to from float to int"

This reverts commit f5d003d1e2.

We decided to postpone this change until a later release, in maybe a
different shape.
This commit is contained in:
Simon Hausmann 2024-07-25 15:24:28 +02:00
parent dafa559a55
commit 9a34789070
6 changed files with 27 additions and 60 deletions

View file

@ -249,7 +249,7 @@ fn rgb_macro(
op: '*',
}
} else {
expr.maybe_convert_to(Type::Float32, &n, diag)
expr.maybe_convert_to(Type::Int32, &n, diag)
}
} else {
expr.maybe_convert_to(Type::Float32, &n, diag)