-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frontend): Disallow signed numeric generics (noir-lang/noir#5572)
chore: disable aztec-packages CI checks (noir-lang/noir#5566) feat: LSP inlay parameter hints (noir-lang/noir#5553) feat: Add `TraitDefinition::as_trait_constraint()` (noir-lang/noir#5541) fix: Fix `uhashmap` test name (noir-lang/noir#5563) fix: let unary traits work at comptime (noir-lang/noir#5507) feat: Add a compile-time hash map type (noir-lang/noir#5543) chore(docs): Docs for turbofish operator (noir-lang/noir#5555) fix(frontend): Error for when impl is stricter than trait (noir-lang/noir#5343) chore: filter warnings from elaborator in Aztec Macros (noir-lang/noir#5556) fix: Don't panic when a macro fails to resolve (noir-lang/noir#5537) fix(ssa): More robust array deduplication check (noir-lang/noir#5547) fix: Fix occurs check (noir-lang/noir#5535) fix: type_of for pointer types (noir-lang/noir#5536) chore: Release Noir(0.32.0) (noir-lang/noir#5268) fix: revert PR #5449 (noir-lang/noir#5548) fix: never panic in LSP inlay hints (noir-lang/noir#5534) feat: LSP document symbol (noir-lang/noir#5532) feat: add comptime support for `modulus_*` compiler builtins (noir-lang/noir#5530) chore: Remove unknown annotation warning (noir-lang/noir#5531) feat: Add TraitConstraint type (noir-lang/noir#5499) fix: Error on empty function bodies (noir-lang/noir#5519) feat: LSP inlay hints for let and global (noir-lang/noir#5510) chore: Remove dbg on find_func_with_name (noir-lang/noir#5526) chore: Remove the remainder of legacy code (noir-lang/noir#5525) chore: Remove `--use-legacy` and resolution code (noir-lang/noir#5248) chore: switch to Noir Keccak implementation with variable size support (noir-lang/noir#5508) chore: standardize experimental feature disclaimer across documentation (noir-lang/noir#5367)
- Loading branch information
Showing
28 changed files
with
640 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
c6e5c4b304eb4e87ca519151f610e7e03b1a4fba | ||
2b4853e71859f225acc123160e87c522212b16b5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
impl TraitDefinition { | ||
#[builtin(trait_def_as_trait_constraint)] | ||
fn as_trait_constraint(_self: Self) -> TraitConstraint {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
noir/noir-repo/test_programs/compile_success_empty/trait_as_constraint/Nargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[package] | ||
name = "trait_as_constraint" | ||
type = "bin" | ||
authors = [""] | ||
compiler_version = ">=0.31.0" | ||
|
||
[dependencies] |
9 changes: 9 additions & 0 deletions
9
noir/noir-repo/test_programs/compile_success_empty/trait_as_constraint/src/main.nr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#[test_as_constraint] | ||
trait Foo<T> {} | ||
|
||
comptime fn test_as_constraint(t: TraitDefinition) { | ||
let constraint = t.as_trait_constraint(); | ||
assert(constraint == constraint); | ||
} | ||
|
||
fn main() {} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
noir/noir-repo/test_programs/execution_success/uhashmap/Nargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "hashmap" | ||
name = "uhashmap" | ||
type = "bin" | ||
authors = [""] | ||
|
||
[dependencies] | ||
[dependencies] |
Oops, something went wrong.