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
We would flag the following foo import
# library.cairo func foo() -> (): end
and
# main.cairo from library import foo as bar func bar() -> (): end func main() -> (): bar() end
This should also work for unaliased import.
We should also check the compiler behavior so we could provide further details when this is found.
The text was updated successfully, but these errors were encountered:
The compiler seem to cover this case, both for aliased/unaliased imports.
$ cairo-compile main.cairo main.cairo:3:6: Redefinition of '__main__.bar'. func bar() -> (): ^*^
Sorry, something went wrong.
No branches or pull requests
We would flag the following foo import
and
This should also work for unaliased import.
We should also check the compiler behavior so we could provide further details when this is found.
The text was updated successfully, but these errors were encountered: