cryptic error: v := f()
, when f returns no values, panics with evalStaticTypeOf() only supports *CallExpr with 1 result
#1082
Labels
🐞 bug
Something isn't working
🌟 must have 🌟
Mandatory work needed to complete a project
📦 🤖 gnovm
Issues or PRs gnovm related
🌟 improvement
performance improvements, refactors ...
Milestone
Minimal example to reproduce:
The resulting panic is the following:
This is not such a weird mistake to do when programming in Go/Gno, so a panic like this with no reference to the incriminated code is hardly helpful to the developer.
(Part of a series of issues encountered while developing gnochess)
The text was updated successfully, but these errors were encountered: