-
Notifications
You must be signed in to change notification settings - Fork 374
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
refactor(gnolang): handle duplicate method decls using TryDefineMethod #1459
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1459 +/- ##
==========================================
- Coverage 55.87% 55.87% -0.01%
==========================================
Files 430 430
Lines 65618 65607 -11
==========================================
- Hits 36667 36655 -12
- Misses 26083 26084 +1
Partials 2868 2868
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, if all this is doing is turning a panic into a boolean return.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean 💯
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)
A (IMHO) better method of handling this. Related discussion: #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)