You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given library A and library B, B depends on A. A crate should be able to import both A and B.
Expected behavior
To be able to use both libraries
Bug
I have tried two scenarios to import library A and B.
List both dependencies in Nargo.toml. This leads to an error:
The application panicked (crashed).
Message: ice: the same path was inserted into the file manager twice
Location: crates/fm/src/lib.rs:57
Attempt to import lib A without listing it in Nargo.toml. This leads to:
The application panicked (crashed).
Message: error reporter: could not find crate libA
Location: crates/noirc_frontend/src/hir/resolution/import.rs:199
To reproduce
No response
Installation method
None
Nargo version
nargo 0.5.1 (git version hash: 7f6dede, is dirty: false)
@noir-lang/noir_wasm version
No response
@noir-lang/barretenberg version
No response
@noir-lang/aztec_backend version
No response
Additional context
No response
Submission Checklist
Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.
The text was updated successfully, but these errors were encountered:
Aim
Given library A and library B, B depends on A. A crate should be able to import both A and B.
Expected behavior
To be able to use both libraries
Bug
I have tried two scenarios to import library A and B.
Nargo.toml
. This leads to an error:Nargo.toml
. This leads to:To reproduce
No response
Installation method
None
Nargo version
nargo 0.5.1 (git version hash: 7f6dede, is dirty: false)
@noir-lang/noir_wasm version
No response
@noir-lang/barretenberg version
No response
@noir-lang/aztec_backend version
No response
Additional context
No response
Submission Checklist
The text was updated successfully, but these errors were encountered: