-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sol-macro): support namespaces (#694)
* wip * wip * feat: implement namespaces on `sol!` side (#693) * respect namespaces * un-ignore test * clippy * clippy * fix doc * rm debug prints * chore: cleanup * fix: correctly expand derives for namespaced JSON outputs (#704) * fix * newline * chore: clippy * chore: use mem::replace * fix: respect namespaces when resolving overloads * test: add regression test * chore: link the test --------- Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
- Loading branch information
Showing
21 changed files
with
532 additions
and
340 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
interface Abiencoderv2Test { | ||
library Hello { | ||
struct Person { | ||
string name; | ||
uint256 age; | ||
} | ||
} | ||
|
||
function defaultPerson() external pure returns (Person memory); | ||
interface Abiencoderv2Test { | ||
function defaultPerson() external pure returns (Hello.Person memory); | ||
} |
Oops, something went wrong.