Skip to content

Commit

Permalink
Add missing TyKind::String to assert_eq_values()
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Zakrzewski committed Jan 13, 2025
1 parent b2d6afc commit 116839a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn assert_eq_values<B: Backend>(

match typ {
// Field and Bool has the same logic
TyKind::Field { .. } | TyKind::Bool => {
TyKind::Field { .. } | TyKind::Bool | TyKind::String(..) => {
let lhs_var = &lhs_info.var[0];
let rhs_var = &rhs_info.var[0];
match (lhs_var, rhs_var) {
Expand Down

0 comments on commit 116839a

Please sign in to comment.