diff --git a/src/tint/sem/type.cc b/src/tint/sem/type.cc index b4887dd90e..ccc414131c 100644 --- a/src/tint/sem/type.cc +++ b/src/tint/sem/type.cc @@ -105,7 +105,7 @@ bool Type::is_integer_scalar() const { } bool Type::is_signed_integer_scalar() const { - return Is(); + return IsAnyOf(); } bool Type::is_unsigned_integer_scalar() const { @@ -113,7 +113,7 @@ bool Type::is_unsigned_integer_scalar() const { } bool Type::is_signed_integer_vector() const { - return Is([](const Vector* v) { return v->type()->IsAnyOf(); }); + return Is([](const Vector* v) { return v->type()->IsAnyOf(); }); } bool Type::is_unsigned_integer_vector() const { @@ -125,7 +125,7 @@ bool Type::is_unsigned_scalar_or_vector() const { } bool Type::is_signed_scalar_or_vector() const { - return Is() || is_signed_integer_vector(); + return IsAnyOf() || is_signed_integer_vector(); } bool Type::is_integer_scalar_or_vector() const {