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

Fix panics caused by shifting(#1618) #1627

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

YancyParker
Copy link
Contributor

Fixed the bug where there was no load when the right expression of the shift calculation is a structure member.

@YancyParker YancyParker force-pushed the fix/shiftExpression branch 2 times, most recently from 93a8942 to 466fbbf Compare March 1, 2024 04:47
Copy link
Contributor

@seanyoung seanyoung left a comment

Choose a reason for hiding this comment

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

This could really use a test case

@YancyParker
Copy link
Contributor Author

This could really use a test case

Ok, I will add a test case.

Signed-off-by: yp945 <pan107104@outlook.com>
@codecov-commenter
Copy link

codecov-commenter commented Mar 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.58%. Comparing base (0bea68c) to head (f33fbaa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1627      +/-   ##
==========================================
- Coverage   88.58%   88.58%   -0.01%     
==========================================
  Files         150      150              
  Lines       69331    69342      +11     
==========================================
+ Hits        61416    61424       +8     
- Misses       7915     7918       +3     

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

@YancyParker
Copy link
Contributor Author

I have successfully run the cargo test --workspace command locally, but it failed on CI. I'm not sure if it's due to recent changes.

@seanyoung
Copy link
Contributor

I have successfully run the cargo test --workspace command locally, but it failed on CI. I'm not sure if it's due to recent changes.

It was an intermittent failure in the integration tests. Rerunning it fixed the problem.

Copy link
Contributor

@seanyoung seanyoung left a comment

Choose a reason for hiding this comment

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

Looks good!

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.

Thanks

@xermicus xermicus merged commit 22d6217 into hyperledger-solang:main Mar 2, 2024
18 checks passed
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.

5 participants