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

Support for trailing comma #179

Merged
merged 25 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1c3d633
Restore the closed commit
vitorpy Mar 20, 2024
4797e78
Add support for trailing commas in argument lists
vitorpy Mar 20, 2024
f566f7e
Revert changes to serialization-2.tact
vitorpy Mar 20, 2024
4547492
Expand coverage to Function, convert to using ? syntax instead of dup…
vitorpy Mar 20, 2024
99e689d
Adding test case for empty argument list
vitorpy Mar 20, 2024
8b61dad
Add changes to CHANGELOG
vitorpy Mar 20, 2024
b439d71
Better wording on CHANGELOG.md
vitorpy Mar 20, 2024
9943023
Add additional test case for more than two arguments
vitorpy Mar 20, 2024
42b1d55
Fixing test case
vitorpy Mar 21, 2024
ae10d4e
Expand coverage to include ExpressionCall, ExpressionInitOf and Expre…
vitorpy Mar 21, 2024
9703fec
Expand test cases
vitorpy Mar 21, 2024
baf26c5
Update src/grammar/test/case-17.tact
vitorpy Mar 22, 2024
9bde284
Fix tests
vitorpy Mar 22, 2024
d9d392f
Expand tests and checks for dangling commas
vitorpy Mar 24, 2024
24998a6
Fix and expand tests
vitorpy Mar 25, 2024
3c85b22
Merge branch 'main' into trailing-comma
vitorpy Mar 25, 2024
58b7d22
Fix parsing and tests for abstract functions.
vitorpy Mar 25, 2024
f161773
Fix support for native functions
vitorpy Mar 25, 2024
11b736e
:Merge branch 'main' into trailing-comma
vitorpy Mar 31, 2024
572dedd
Split test cases into different files
vitorpy Mar 31, 2024
4f4de39
revert accidental deletion in grammar.ts
anton-trunov Apr 2, 2024
e362df6
Merge branch 'main' into trailing-comma
anton-trunov Apr 2, 2024
6984209
Update src/grammar/test-failed/case-26.tact
anton-trunov Apr 2, 2024
9f8f808
Update src/grammar/test-failed/case-25.tact
anton-trunov Apr 2, 2024
46e45f7
update snapshot
anton-trunov Apr 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- Update the `dump` function to handle addresses: PR [#175](https://github.com/tact-lang/tact/pull/175)
- Support trailing commas for struct fields and function arguments: PR [#179](https://github.com/tact-lang/tact/pull/179)
- The implicit empty `init` function is now present by default in the contract if not declared: PR [#167](https://github.com/tact-lang/tact/pull/167)
- `@stdlib/stoppable` now imports `@stdlib/ownable` so the programmer does not have to do it separately: PR [#193](https://github.com/tact-lang/tact/pull/193)

Expand Down
Loading