assemblyscript
assemblyscript copied to clipboard
A TypeScript-like language for WebAssembly.
+ Remove `bswap` from `polyfills.ts` and expose it as compiler's builtin. + Remove `bswap16`. We didn't use it and I can't imagine where it would be needed. So removing it...
Downcasting is not cheap and may produce app termination. Much better to use explicit type narrowing + implicit downcasting like: ```ts class Animal {} class Tiger extends Animal {} ```...
Fixes https://github.com/AssemblyScript/assemblyscript/issues/2422.
- [x] I've read the contributing guidelines - [x] I've added my name and email to the NOTICE file
Fix: #2205 - [x] I've read the contributing guidelines - [x] I've added my name and email to the NOTICE file
- [x] I've read the contributing guidelines - [x] I've added my name and email to the NOTICE file
Dead code issue from issue [2427](https://github.com/AssemblyScript/assemblyscript/issues/2427) - [x] I've read the contributing guidelines - [x] I've added my name and email to the NOTICE file
Hi Maintainers, I found in `compiler.ts`, functions `compileProperty`, `compilePropertyGetter` and `compilePropertySetter` are not referenced by any other function, please confirm if we can delete it? thank you. Regards
Also: + changed mechanics for heap type caching + added new GUFA pass to pipeline - [x] I've read the contributing guidelines - [x] I've added my name and email...