-
Notifications
You must be signed in to change notification settings - Fork 224
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
feat!: remove dep::
prefix
#4946
Merged
Merged
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
167e153
use PathKind::Plain over Dep, remove PathKind::Dep, resolve both poss…
michaeljklein 425116f
removing from aztec_macros, expected-to-be failing test_programs, etc
michaeljklein ec7eb40
only resolve path externally when unresolved internally, i.e. not whe…
michaeljklein 91e003e
add PathKind::Dep back in 1) to ease distinguishing deprecated case, …
michaeljklein 22ec8c7
cargo fmt/clippy
michaeljklein 7ad8d05
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein 552b29b
fix tests failing from deprecation warning
michaeljklein c8ba6f5
Update compiler/noirc_frontend/src/parser/errors.rs
michaeljklein 51bbb0e
Update compiler/noirc_frontend/src/hir/resolution/import.rs
michaeljklein 3493069
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein 0da34b2
wip responding to review comments, distinguish deprecated path kind f…
michaeljklein a00b775
remove LitDep and associated warning, revert parser
michaeljklein 2c6b20b
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein 97bfe72
update previous-approach '::path' tests, simplify dep/mod overlap test
michaeljklein b47f8b7
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein 8a4d138
add test for external vs local import without 'dep::'
michaeljklein 085d1f6
convert overlapping_dep_and_mod to a compile failure by moving expect…
michaeljklein 11f6235
add 'overlapping_dep_and_mod*' tests to excluded_dirs in formatting t…
michaeljklein d374c04
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein 268490f
nargo fmt
michaeljklein 0842de8
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein a4437f5
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein fb82de4
nargo fmt
michaeljklein 3d36751
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein cea5f46
Merge branch 'master' into michaeljklein/combine-dep-crate
michaeljklein fd1b873
Merge branch 'master' into michaeljklein/combine-dep-crate
TomAFrench 7b3eb42
chore: fmt
TomAFrench 9111c2a
chore: update new paths
TomAFrench 0a876b3
chore: fix naming of new test
TomAFrench 407b22a
chore: restrict parallelism in `rebuild.sh`
TomAFrench ec2b819
chore: remove useless `use std` statements
TomAFrench c51cdd6
chore: clean up straggler
TomAFrench 74526c4
chore: revert change to formatter test
TomAFrench a53fb5c
Update compiler/noirc_frontend/src/parser/errors.rs
TomAFrench ac9cdbc
Update docs/docs/noir/concepts/data_types/slices.mdx
TomAFrench 8816095
chore: revert changes to formatter
TomAFrench 787e020
Merge branch 'master' into michaeljklein/combine-dep-crate
TomAFrench 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 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 |
---|---|---|
@@ -1,10 +1,7 @@ | ||
use dep::std; | ||
|
||
fn main(x: u64, y: pub u64) -> pub u64 { | ||
// We include a println statement to show that noirJS will ignore this and continue execution | ||
std::println("foo"); | ||
|
||
|
||
assert(x < y); | ||
x + y | ||
} |
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,5 +1,3 @@ | ||
use dep::std; | ||
|
||
fn main( | ||
verification_key: [Field; 114], | ||
proof: [Field; 93], | ||
|
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On line 19 there's also
path_kind(Keyword::Dep, PathKind::Dep)
... maybe that should have also been changed? Or maybePathKind::Dep
should be removed completely?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, this was kept both to ensure
use
statements