Skip to content

Commit

Permalink
Parser error example
Browse files Browse the repository at this point in the history
  • Loading branch information
nventuro committed Feb 9, 2024
1 parent 7b519a4 commit 7d70759
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions yarn-project/noir-contracts/Nargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = [
"contracts/parser_test_contract",
"contracts/avm_test_contract",
"contracts/benchmarking_contract",
"contracts/card_game_contract",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "parser_test_contract"
authors = [""]
compiler_version = ">=0.18.0"
type = "contract"

[dependencies]
aztec = { path = "../../../aztec-nr/aztec" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
contract ParserTest {
use dep::aztec::{
state_vars::{map::Map set::Set},
};

#[aztec(private)]
fn constructor() {}
}

0 comments on commit 7d70759

Please sign in to comment.