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 typechecker #112

Merged
merged 2 commits into from
Aug 8, 2023
Merged

Fix typechecker #112

merged 2 commits into from
Aug 8, 2023

Conversation

CryptoPascal31
Copy link
Contributor

This PR fix some various issues thrown by the typechecker:

  • Non uniform lists (royalty-policy)
  • Non uniform THEN/ELSE returns in a (if (collection-policy and ledger)
  • Missing types (policy-manager)
  • Uncaught errors in dead code (quote-manager)

The issue in ledger has been resolved by simplifying the (credit) code: replace a complex (if .... (update) (insert) ) => to a simple (write)

@ggobugi27 ggobugi27 merged commit 68bab2a into kadena-io:v2 Aug 8, 2023
1 check passed
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.

2 participants