-
Notifications
You must be signed in to change notification settings - Fork 379
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
test(gnovm): add test for bounding issue #2526
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
I don't think this is a bug and I believe the behavior was introduced by #2255; this PR also had the side of fixing #974. Here is why I don't think this is a bug: func init() {
f = &fooer{}
crossrealm.SetFooer(f)
crossrealm.CallFoo()
} The init function imports var fooer Fooer
func SetFooer(f Fooer) { fooer = f } The above code in the That being said, perhaps we should amend the error message for this failure case to make it clearer as to why it is failing. Maybe even put something in our docs to explain this and link to it from the error message. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2526 +/- ##
==========================================
+ Coverage 54.88% 54.91% +0.03%
==========================================
Files 592 594 +2
Lines 79232 79310 +78
==========================================
+ Hits 43487 43556 +69
+ Misses 32460 32451 -9
- Partials 3285 3303 +18
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
This reverts commit 4ca57af.
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
@moul Is this still relevant? |
It is, but is also on hold; Related with #2535 |
Signed-off-by: moul <[email protected]>
This PR is stale because it has been open 3 months with no activity. Remove stale label or comment or this will be closed in 3 months. |
Cherry-picked fixes by @jaekwon from #2535
cc @jaekwon, new edge case happening after #1257.
cc @deelawn, seems that you touched this part of the code in march too #1846.
blocks #2516