-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate metadata for constructor return type (#1460)
* generates correct metadata for Self type * generate metadata for Result type * generate metadata for Result<Self, ...> * docs and comments * cargo fmt * fix the metadata tests * makes compatible with new tests * rewrite return type transformation to support aliases * test changes (#1473) * test changes * rename trait to ConstructorReturnSpec * adapt test * remove unecessary helper fn (#1475) * remove unecessary helper fn * fix some comments * rename var * Update crates/ink/codegen/src/generator/metadata.rs Co-authored-by: Cyrill Leutwiler <cyrill@parity.io> * Add test for metadata generator (#1477) * Add test for metadata generator * nightly fmt Co-authored-by: Cyrill Leutwiler <cyrill@parity.io>
- Loading branch information
Showing
6 changed files
with
242 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.