Skip to content
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

(FunC) Identifiers can't contain [ or ], and variable names cannot start with ~ or . #705

Open
novusnota opened this issue Aug 2, 2024 · 0 comments

Comments

@novusnota
Copy link
Contributor

novusnota commented Aug 2, 2024

Is your feature request related to a problem? Please describe.

There's an incomplete description here: https://docs.ton.org/develop/func/literals_identifiers#identifiers

Describe the solution you'd like

Clarify, that identifiers can't contain [ or ] (because otherwise they'll be parsed as tuples), and variable names cannot start with ~ or .

Also, one cannot declare a new variable or function with the name from the list of builtins: https://docs.ton.org/develop/func/builtins (C++ source link)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant