assemblyscript icon indicating copy to clipboard operation
assemblyscript copied to clipboard

A TypeScript-like language for WebAssembly.

Results 234 assemblyscript issues
Sort by recently updated
recently updated
newest added

### Bug description Expected exports to contain wasm exports, instead getting undefined value. ### Steps to reproduce Run asc with --bindings raw. In build/release.js line 24 now contains: ``` const...

question

This sort of feature would help us develop features like `Array.prototype.entries`, `Array.prototype.values`, and other features that require generators. For instance: ```ts class Array { *values(): Iterator { var length =...

enhancement

### Feature suggestion Support private properties: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_properties Example: ```ts class Class { #example: i32; } ```

enhancement

### Bug description Strange issue found while working on something unrelated. It seems that in certain cases, the compiler creates `NaN` on some platforms, and `-NaN` on others. This can...

bug

### Bug description Found via StackOverflow: https://stackoverflow.com/q/79232050/634824 TypeScript allows the `this` keyword to be used as a type. - https://www.typescriptlang.org/docs/handbook/2/classes.html#this-types - https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types AssemblyScript seems to recognize this syntax and compiles...

bug

### Bug description If `asc` is used to compile multiple files, and one of those files is resolved via `--path`, then memory set in that file is not persisted. If...

bug

### Question I'm writing an AssemblyScript version of Conways Game of Life - https://github.com/KieranP/Game-Of-Life-Implementations Part of it needs to fetch values from a Map but the key may not be...

question

- Reduce unnecessary zero-initialization memory in the constructor - According to wasm-spec, grown memories should initialized with value 0x00 - [x] I've read the contributing guidelines - [x] I've added...

### Bug description Using either: ```ts class LocationOccupied extends Error { constructor(message: string) { super(`LocationOccupied(${message})`); } } ``` OR ```ts class LocationOccupied extends Error { constructor(message: string) { this.message =...

bug

Hello, I'm trying to compile a simple piece of code that uses the `for... in` or `for... of` [iterable](https://www.typescriptlang.org/docs/handbook/iterators-and-generators.html) syntax, but I keep getting the following error: ``` ERROR TS1005:...

enhancement