You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preprocessor doesn't check whether all code branch paths return in functions that have a return value.
This causes unexpected behavior during runtime, in my case I got: interface conversion: gno.Stmt is nil, not *gno.AssignStmt.
TODO: make preprocessor ensure all branch paths return when necessary.
Alternatively, use the go compiler for type-checking.
The text was updated successfully, but these errors were encountered:
@jaekwon I plan to update #119 to automatically run unit tests against the official examples/gno.land/* gno files
If you have any pieces of code that you think relevant enough to be hardcoded in the gno2go unit tests because you worry they happen in production, feel free to update my PR or share here some code snippets, and I can handle the rest
Preprocessor doesn't check whether all code branch paths return in functions that have a return value.
This causes unexpected behavior during runtime, in my case I got:
interface conversion: gno.Stmt is nil, not *gno.AssignStmt
.TODO: make preprocessor ensure all branch paths return when necessary.
Alternatively, use the go compiler for type-checking.
The text was updated successfully, but these errors were encountered: