noir-lang / noir

Noir is a domain specific language for zero knowledge proofs
https://noir-lang.org
Apache License 2.0
821 stars 177 forks source link

fix: Implement generic functions in the interpreter #5330

Closed jfecher closed 4 days ago

jfecher commented 5 days ago

Description

Problem*

Resolves https://github.com/noir-lang/noir/issues/4924

Summary*

Implements the calling of generic functions in the interpreter

Additional Context

I've removed the "type_check" method entirely since it was causing errors. Certain types wouldn't match up (even with follow_bindings). I couldn't fix this so I removed it since it is duplicated work from type checking anyway.

Documentation*

Check one:

PR Checklist*