Skip to content

Commit

Permalink
generates a slice
Browse files Browse the repository at this point in the history
  • Loading branch information
guipublic committed Jun 20, 2024
1 parent f612b14 commit 140b0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/monomorphization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ impl<'interner> Monomorphizer<'interner> {
let typ = Type::Array(bytes_as_expr.len() as u32, Box::new(int_type));

let arr_literal = ArrayLiteral { typ, contents: bytes_as_expr };
Expression::Literal(Literal::Array(arr_literal))
Expression::Literal(Literal::Slice(arr_literal))
}

fn queue_function(
Expand Down

0 comments on commit 140b0ac

Please sign in to comment.