test store polluted by native object
this happens when testing this file.
it imports gno.land/p/demo/testutils, and then import std, cause an error(pre-configured manually) on math/overflow package which is not imported and used.
package main
import (
"gno.land/p/demo/testutils"
)
func main() {
println(testutils.TestVar1)
}
// Output:
// 123
the cause for this is when conducting test with native_libs, stdlibs are loaded as well. this. The test store is kinda polluted that std libs will reference the corresponding native object which was injected priorly to the test store . in some edge cases, cause a type mismatch.
#1361
This issue is stale because it has been open 6 months with no activity. Remove stale label or comment or this will be closed in 3 months.
This issue was closed because it has been stalled for 3 months with no activity.