Conversation
Signed-off-by: moul <94029+moul@users.noreply.github.com>
🛠 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.
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.
| @@ -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.
oops this isn't used, should be deleted.
There was a problem hiding this comment.
Do you mean to remove this line and revert the dead code I just deleted below?
There was a problem hiding this comment.
no, we should delete it, it isn't used at all.
Failing CI checks decreased from 24 to 5. --------- Signed-off-by: moul <94029+moul@users.noreply.github.com>
Failing CI checks decreased from 24 to 5. --------- Signed-off-by: moul <94029+moul@users.noreply.github.com>
Failing CI checks decreased from 24 to 5.