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
define-x
There is currently no checks on the validity of the names given in those functions:
define-data-var
define-map
define-fungible-token
define-non-fungible-token
define-private
define-public
define-read-only
define-trait
Here is a example of Clarity code that should fail:
>> (define-data-var map int 0) error: Runtime Error: Runtime error while interpreting ST000000000000000000002AMW42H.contract-0: Unchecked(NameAlreadyUsed("map"))
The text was updated successfully, but these errors were encountered:
ameeratgithub
Successfully merging a pull request may close this issue.
There is currently no checks on the validity of the names given in those functions:
define-data-var
define-map
define-fungible-token
define-non-fungible-token
define-private
define-public
define-read-only
define-trait
(only trait name, methods names seem to be okay if they clash)Here is a example of Clarity code that should fail:
The text was updated successfully, but these errors were encountered: