-
Notifications
You must be signed in to change notification settings - Fork 18
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
Grouping methods in ExprTycker #1021
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1021 +/- ##
============================================
+ Coverage 81.78% 81.85% +0.07%
+ Complexity 3471 3441 -30
============================================
Files 287 287
Lines 10640 10638 -2
Branches 1281 1284 +3
============================================
+ Hits 8702 8708 +6
+ Misses 1216 1207 -9
- Partials 722 723 +1 ☔ View full report in Codecov by Sentry. |
Thank you! 🙏 |
return lhsResult.preclause.expr().map(e -> {// In case the patterns are malformed, do not check the body | ||
// as we bind local variables in the pattern checker, | ||
// and in case the patterns are malformed, some bindings may | ||
// not be added to the localCtx of tycker, causing assertion errors | ||
return lhsResult.hasError ? new ErrorTerm(e, false) : exprTycker.inherit(e, lhsResult.type).wellTyped(); |
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.
Code formatting seems broken
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.
😱
This PR groups methods in ExprTycker.