dcodeIO

Results 484 comments of dcodeIO

Probably also needs an update [here](https://github.com/AssemblyScript/website/blob/48cf87d40d99ce9018fdb9d7d3d6aa3c65161919/src/.vuepress/public/editor.html#L321).

Looking at this briefly, the cause here seems to be in the `&&` respectively `||` cases in `Compiler#compileBinaryExpression`, where the state of `rightFlow` is not inherited by the parent `flow`,...

Tests are failing because of a renaming conflict between the `--experimental-wasm-reftypes` and `--experimental-wasm-anyref` flags. Afaik current node uses the latter still, while canary switched to the former.

Iirc there is a fallback notation to allow this, for everything that isn't otherwise defined. Something involving forwards to `*.js` or so, don't remember exactly.

`LIBRARY_PREFIX` can be an exported WebAssembly global, and the proper way to get its value is to use `valueOf`, which is specified to return the primitive value of an object,...

Iirc the idea of the assert is that if one converts nothing to nothing, then there isn't an expression to begin with that can be consumed as part of the...

Tried to come up with a comment so, in case we ever run into issues here, we know what was the intention :)

Interesting, the `eval` is what we had originally, but then switched. I don't recall exactly anymore why we did that, hmm. @MaxGraey ?

Yes, `dist/asc.js` originated as a browser-only build of the compiler. I'd not be opposed to make it more universal, though, if it can be done without breakage.

The roadmap I have in mind currently is about: - Get an ESM build of binaryen.js going - Get an ESM build of long.js going (trivial) - Transition asc.js to...