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

Fix type expression parser #228

Merged
merged 3 commits into from
Aug 1, 2022

Conversation

nvergez
Copy link
Contributor

@nvergez nvergez commented Jul 14, 2022

Hello, I got an error when I tried to import and parse an abi with the type tuple<List<u64>,List<u64>>. I saw the commented test in src/smartcontracts/typesystem/typeExpressionParser.spec.ts which is basically the same case as mine.

I just fixed the problem adding a condition in the function getJsonedString. I uncommented the commented test and added my specific case in the test file because it tests the '> before ,' case and the 'JSON key de-duplication' case.

Copy link
Contributor

@ccorcoveanu ccorcoveanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nvergez and thanks for the contribution!
Can you please run an npm install and also commit package-lock?

@ccorcoveanu ccorcoveanu merged commit fcd30aa into multiversx:main Aug 1, 2022
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 this pull request may close these issues.

3 participants