-
Notifications
You must be signed in to change notification settings - Fork 297
chore: add compile-time assertions on generic arguments of stdlib functions #6981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c671b1e
change two assertions on generics to static assertions, wip finding s…
michaeljklein 4a701ed
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein e835376
rename ToRadix -> ToRadixUnsafe, ToBits -> ToBitsUnsafe, add size che…
michaeljklein 0896b08
wip implementing comptime static_assert, add tests for comptime stati…
michaeljklein ee45436
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 89a0253
rename after merge
michaeljklein 36cdd91
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 3cc4f7d
debug failing tests by updating '<' -> '<=' where needed, cargo clipp…
michaeljklein 9607e6b
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein dea58ad
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein a79c443
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 75eb48c
reverting To(Bits|Radix)Unsafe changes, wip testing 'self.range_const…
michaeljklein fbc93ca
cargo clippy
michaeljklein 32f0d6d
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein dc2a89f
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 713d9b7
update test fixed by recent PR, remove broken wip range constraint, c…
michaeljklein f9739a5
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 68c3060
nargo fmt
michaeljklein 507292c
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 93afedf
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein b4c8c36
Update noir_stdlib/src/uint128.nr
michaeljklein ba79d2f
Update noir_stdlib/src/uint128.nr
michaeljklein 5b4c5d4
Update compiler/noirc_frontend/src/tests/metaprogramming.rs
michaeljklein c7c3e8f
Update tooling/nargo_cli/src/cli/compile_cmd.rs
michaeljklein 8214dad
Update compiler/noirc_frontend/src/tests/metaprogramming.rs
michaeljklein 21810b9
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein d1536d5
cargo fmt
michaeljklein 8a1e7d2
nargo fmt
michaeljklein 55fcc95
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 41dc327
Merge branch 'master' into michaeljklein/stdlib-static-assertions
TomAFrench 7d442d8
add static_assert's to to_le_radix, add noir stdlib and compile failu…
michaeljklein 99710bd
remove compile_failure tests now that stdlib tests are working, remov…
michaeljklein 39f3150
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 3608f63
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein 2957752
Merge branch 'master' into michaeljklein/stdlib-static-assertions
michaeljklein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.