-
Notifications
You must be signed in to change notification settings - Fork 425
chore: small fixes #4195
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
chore: small fixes #4195
Conversation
Signed-off-by: moul <[email protected]>
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
gnovm/pkg/gnolang/machine.go
Outdated
if fnSource != nil { | ||
call.FuncLoc = fnSource.GetLocation() | ||
} | ||
calls = append(calls, call) |
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.
I think the issue you're trying to solve is solved here: https://github.com/gnolang/gno/pull/4192/files#r2052132917
Better to keep the machine simple and tailor the tests to suit it.
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.
rollbacked d34f5cf
@@ -2017,13 +2021,6 @@ func (m *Machine) peekCallFrame(n int) *Frame { | |||
// Returns the last defer call frame or nil. | |||
func (m *Machine) LastDeferCallFrame() *Frame { | |||
return &m.Frames[len(m.Frames)-1] |
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.
oops this isn't used, should be deleted.
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.
Do you mean to remove this line and revert the dead code I just deleted below?
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.
no, we should delete it, it isn't used at all.
Failing CI checks decreased from 24 to 5. --------- Signed-off-by: moul <[email protected]>
Failing CI checks decreased from 24 to 5. --------- Signed-off-by: moul <[email protected]>
Failing CI checks decreased from 24 to 5.