provekit_nargo_cli 1.0.0-beta.20-alpha.1

Noir's package manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
source: tooling/nargo_cli/tests/execute.rs
expression: expanded_code
---
use my_submodule::my_helper;

fn main(x: bool, y: bool) {
    my_helper();
    my_submodule::my_bool_or(x, y);
}

mod my_submodule {
    pub fn my_bool_or(x: bool, y: bool) {
        assert(x | y);
    }

    pub fn my_helper() {}
}