assemblyscript-json icon indicating copy to clipboard operation
assemblyscript-json copied to clipboard

fix: null as return type causes compiler error

Open dOrgJelli opened this issue 4 years ago • 0 comments

When compiling the codebase, the following compiler error is thrown: image

We can resolve this compiler error by simply removing the Null class' valueOf() method, since valueOf() is not required by Value's abstract interface.

This change does not seem to change the user facing interface at all. Usage as described in the README stays consistent.

dOrgJelli avatar Aug 17 '21 16:08 dOrgJelli