Skip to content

Commit

Permalink
fix issue with incorrect typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
volsa committed Nov 14, 2024
1 parent 445b19b commit b1671f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ impl TypeAnnotator<'_> {
)
.get_name(),
DataTypeInformation::Integer { .. }
if !&data_type.information.is_bool() =>
if !data_type.information.is_bool()
&& !data_type.information.is_character() =>
{
get_bigger_type(
data_type,
Expand Down

0 comments on commit b1671f6

Please sign in to comment.