Skip to content
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

[Sema] MemberAccess #104

Merged
merged 2 commits into from
Aug 3, 2021
Merged

[Sema] MemberAccess #104

merged 2 commits into from
Aug 3, 2021

Conversation

LFsWang
Copy link
Contributor

@LFsWang LFsWang commented Jul 20, 2021

Due to issue #92 , some impartment part can not be implemented until we solve it.
Therefore it is required to add a lot bypass.

@codecov
Copy link

codecov bot commented Jul 20, 2021

Codecov Report

Merging #104 (8ac7d9f) into master (e81c4ca) will decrease coverage by 0.24%.
The diff coverage is 47.67%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
- Coverage   66.58%   66.33%   -0.25%     
==========================================
  Files          97       97              
  Lines       13398    13480      +82     
  Branches     1987     2013      +26     
==========================================
+ Hits         8921     8942      +21     
- Misses       3487     3538      +51     
- Partials      990     1000      +10     
Impacted Files Coverage Δ
include/soll/AST/Expr.h 88.46% <ø> (ø)
include/soll/AST/Type.h 58.36% <ø> (-0.22%) ⬇️
lib/Sema/Sema.cpp 71.61% <25.00%> (-1.76%) ⬇️
lib/Sema/SemaResolveType.cpp 65.64% <25.00%> (-1.13%) ⬇️
lib/Sema/SemaResolveIdentifier.cpp 72.14% <47.82%> (-11.08%) ⬇️
include/soll/Sema/Sema.h 89.65% <100.00%> (+0.36%) ⬆️
lib/AST/Expr.cpp 65.59% <0.00%> (-2.16%) ⬇️
lib/CodeGen/CGExpr.cpp 85.84% <0.00%> (-0.78%) ⬇️
lib/CodeGen/ABICodec.cpp 80.36% <0.00%> (-0.47%) ⬇️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e81c4ca...8ac7d9f. Read the comment docs.

lib/Sema/SemaResolveIdentifier.cpp Show resolved Hide resolved
Actions.Diag(Base->getLocation().getBegin(),
diag::err_super_in_noninheritance_contract);
}
for (auto F : Bases[1]->getFuncs())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a magic number 1, what does it mean?

} break;
case Type::Category::Address: {
// TODO: Handle Address case
// TODO: Address.send(x), should bypass send and check x.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to throw an unimplemented error here?

@@ -439,6 +439,7 @@ class TypeResolver : public StmtVisitor {
ME.setLibraryAddress(Address);
return;
}
// TODO : remove this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove what?

@hydai hydai merged commit 1f559c1 into second-state:master Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants