-
### Aim
I wanted to have a structure with multiple trait From implementations and use `From::from(...)` syntax to create a global variable.
### Expected Behavior
This code compiles:
```rust
struc…
-
`SharedMutable` currently requires that the inner type `T` fits in a single `Field` (until we implement https://github.com/AztecProtocol/aztec-packages/issues/5491), but despite that stores multiple v…
-
### Aim
I am trying to implement 128x128 matrix multiplication, but I've had to modify it to be flattened due to Noir not supporting multi-dimensional arrays. My code works on smaller inputs, but onc…
-
See PR review comment here: https://github.com/noir-lang/noir/pull/4926/files#r1581593983
Users are going to have expectations about the relative ordering of these two function calls being resolved…
-
### Aim
tested passing an array to `main`:
```rust
fn main(x: [(); 10], y: u64) {
assert(x.len() != y);
}
```
NOTE: this bug also occurs with `x: ()` as a parameter to main.
### Ex…
-
### Aim
**When:**
- Passing Field elements as hex-encoded numbers
- Passing Field elements as integers
**What:**
Since the target type is > u120, the toml parser crashes.
**Workarou…
-
### Aim
```rs
use dep::std::collections::map::{ HashMap };
use dep::std::hash::BuildHasherDefault;
use dep::std::hash::pedersen::PedersenHasher;
fn main() {
let map: HashMap = HashMap::def…
-
### Aim
Take this example of correctly using ":" to specify an object's fields:
```
struct Point {
x: Field,
y: Field,
}
impl Point {
fn new(x: Field, y: Field) -> Self {
…
-
# Noir Testing
## Goals
We want Noir to have great end-to-end testing, including (but not limited to) unit tests, proving/verifying, integration tests. We also want to have common editor workflo…
-
Relevant here: https://github.com/noir-lang/noir/issues/3969