Incorrect codegen for trait methods #1530
Labels
A-ink_lang
[ink_lang] Work item
A-ink_metadata
[ink_metadata] Work item
C-bug
Something isn't working
Describe the bug
I am trying out the ink 4.0-beta.
Given the following trait definition:
The generated forwarder is:
And also the metadata.json:
Expected behavior
It should be:
.returns::<Result<(u16, u16),LangError>>()
and ditto in the metadata.
The text was updated successfully, but these errors were encountered: