Skip to content

Commit

Permalink
Update compiler/noirc_frontend/src/hir/comptime/interpreter.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jun 25, 2024
1 parent c8de5f8 commit 27dec25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/noirc_frontend/src/hir/comptime/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ impl<'a> Interpreter<'a> {
let rhs = self.evaluate(infix.rhs)?;

// TODO: Need to account for operator overloading
// See https://github.com/noir-lang/noir/issues/4925
if self.interner.get_selected_impl_for_expression(id).is_some() {
return Err(InterpreterError::Unimplemented {
item: "Operator overloading in the interpreter".to_string(),
Expand Down

0 comments on commit 27dec25

Please sign in to comment.