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

An expression statement should be followed by ; #1601

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

seanyoung
Copy link
Contributor

Fixes #1600

Signed-off-by: Sean Young <sean@mess.org>
Copy link

codecov bot commented Nov 26, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (99ecfc0) 88.00% compared to head (053d9e4) 88.00%.

❗ Current head 053d9e4 differs from pull request most recent head d074f3d. Consider uploading reports for the commit d074f3d to get more accurate results

Files Patch % Lines
solang-parser/src/helpers/fmt.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1601      +/-   ##
==========================================
- Coverage   88.00%   88.00%   -0.01%     
==========================================
  Files         133      133              
  Lines       64959    64961       +2     
==========================================
  Hits        57167    57167              
- Misses       7792     7794       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seanyoung
Copy link
Contributor Author

The coverage report says this is not tested, but it is. It works when I run cargo llvm-cov --all-features --workspace locally, even if I remove the temporary files. I would not be surprised if codecov cannot deal with crates properly.

Copy link
Contributor

@xermicus xermicus left a comment

Choose a reason for hiding this comment

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

I feel like it's becoming inevitable to honor solc version pragmas

@seanyoung
Copy link
Contributor Author

I feel like it's becoming inevitable to honor solc version pragmas

Actually #1592 switches behaviour based on the version pragma

@LucasSte
Copy link
Contributor

The coverage report says this is not tested, but it is. It works when I run cargo llvm-cov --all-features --workspace locally, even if I remove the temporary files. I would not be surprised if codecov cannot deal with crates properly.

I think the cargo llvm-cov is misconfigured. Solana's repository consists of multiple crates and codecov works properly. Please, note that codecov is just a tool to visualize and store the coverage reports. If it is showing wrong results, it is because we are sending an incorrect report to it.

@seanyoung seanyoung merged commit 90b3f70 into hyperledger:main Nov 27, 2023
34 of 36 checks passed
@seanyoung seanyoung deleted the format branch November 27, 2023 14:55
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.

_; gets parsed as an Expression::Variable
3 participants