forked from gnolang/gno
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(gnolang): handle duplicate method decls using TryDefineMethod (
gnolang#1459) A (IMHO) better method of handling this. Related discussion: gnolang#859 (comment) Avoids creating a panic/recover in Preprocess by handling the "redeclaration" case directly when it happens. cc/ @jaekwon to confirm whether he agrees it's a good solution. (suggestion: review with whitespace hidden)
- Loading branch information
Showing
2 changed files
with
48 additions
and
43 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