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

Example "04-arrays" cannot be compiled with Tact 1.4.2 #43

Open
i582 opened this issue Dec 2, 2024 · 0 comments · May be fixed by #44
Open

Example "04-arrays" cannot be compiled with Tact 1.4.2 #43

i582 opened this issue Dec 2, 2024 · 0 comments · May be fixed by #44

Comments

@i582
Copy link

i582 commented Dec 2, 2024

When I compile the example with the latest version of Tact I get this error:

💼 Compiling project 04-arrays ...
Tact compilation failed
Error: src/routes/(examples)/04-arrays/contract.tact:47:13: Parse error: expected not a reservedWord

Line 47, col 13:
  46 | 
> 47 |     get fun map(): map<Int, Int> {
                   ^
  48 |         return self.arr;
@i582 i582 linked a pull request Dec 2, 2024 that will close this issue
i582 added a commit to i582/tact-by-example that referenced this issue Dec 2, 2024
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

Successfully merging a pull request may close this issue.

1 participant