We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The compiler gets confused when the alias of a dependency is the same as the name of the package:
[project] authors = ["Fuel Labs <[email protected]>"] entry = "main.sw" license = "Apache-2.0" name = "lib_contract" [dependencies] lib_contract = { path = "../lib_contract_abi/", package = "lib_contract_abi" }
forc-pkg should throw an error in this situation, but it doesn't.
forc-pkg
The text was updated successfully, but these errors were encountered:
[project] authors = ["Fuel Labs <[email protected]>"] entry = "main.sw" license = "Apache-2.0" name = "lib_contract_abi" [dependencies] lib_contract = { path = "../lib_contract_abi/", package = "lib_contract_abi" }
Should we also disallow situations where package alias is colliding with package name as well?
Sorry, something went wrong.
That situation is currently caught by the compiler, but I think it would be better if forc-pkg did it.
1fdf630
kayagokalp
Successfully merging a pull request may close this issue.
The compiler gets confused when the alias of a dependency is the same as the name of the package:
forc-pkg
should throw an error in this situation, but it doesn't.The text was updated successfully, but these errors were encountered: