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
Currently, when type errors or other issues occur in imported packages, the error message only shows the directory name of the package that imported it.
For example, there is a package with a type mismatch:
gno.land/r/demo/bar:4:2: cannot use uint64 as int64 (code=2)
FAIL examples/gno.land/r/demo/bar 0.01s
FAIL
FAIL: 0 build errors, 1 test errors
This error actually occurs in the fooo package, but the message makes it appear as if the problem is in the bar package, making debugging more difficult.
Therefore, it would be better to modify the error message to indicate the problematic package. I believe this error is likely occurring in the catchRuntimeError function.
The text was updated successfully, but these errors were encountered:
I have fixed this issue
Because I don't know Gnovm test run flow so i can't create the testcase to show the bug has been fixed.
Can you help me check this code or help me create the testcase to test my code?
I have fixed this issue
Because I don't know Gnovm test run flow so i can't create the testcase to show the bug has been fixed.
Can you help me check this code or help me create the testcase to test my code?
Description
Currently, when type errors or other issues occur in imported packages, the error message only shows the directory name of the package that imported it.
For example, there is a package with a type mismatch:
If we try to use this package without modification in another package:
The following error is displayed:
This error actually occurs in the
fooo
package, but the message makes it appear as if the problem is in thebar
package, making debugging more difficult.Therefore, it would be better to modify the error message to indicate the problematic package. I believe this error is likely occurring in the
catchRuntimeError
function.The text was updated successfully, but these errors were encountered: