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

Ensure `println` in tests works with `static_assert` #5348

Open michaeljklein opened 3 days ago

michaeljklein commented 3 days ago

Problem

static_assert failing will prevent println's from happening in tests

Happy Case

Ensure that we maintain a good UX for when static_assert fails, e.g. by adding support for compile-time println (https://github.com/noir-lang/noir/pull/5342#issuecomment-2195686695)

Project Impact

Nice-to-have

Impact Context

No response

Workaround

Yes

Workaround Description

Comment out all failing static_assert statements to see the println results

Additional Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response