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 If an `Array` is declared and used, the compiler generates an error due to `ref_extern` not being compatible with the `alignof` function. This will trigger three compiler...

enhancement

### Bug description Compound assignment where the left hand side is an array with a post increment index generates incorrect code. ```ts let a = new Uint32Array(1); let v =...

bug

console.error doesn't send output to STDERR, but to STDOUT, prepended with string "Error:" console.error should send output to STDERR, similar to `Console` from as-wasi

compatibility

### Bug description Seems like the `extends` syntax doesn't accept interface `type` aliases. ### Steps to reproduce ``` interface IDFOutputT {} type IDFNumberOutput = IDFOutputT; class DFNumberValue implements IDFNumberOutput {}...

bug

Treating Unicode strings as arrays often leads to bugs where code processes text in some languages correctly but not others. In JavaScript, it's surprising that `"🤦🏼‍♂️".length == 7`, and the...

enhancement
question

### Feature suggestion current compiler adds an unexpected null check when there is an exclamenation token like `nullable!.prop1`. it will be great if it is possible to disable the null...

enhancement

### Feature suggestion When meet `==` operator overload. There is no way to know if the ref is same. For reference type, it's very helpful to know the ref equality...

enhancement

### Feature suggestion Add memory64 support. It probably would be best if this was done in steps.

enhancement

### Feature suggestion When write an encode method, I need to know if a class have parent, which will lead to different logic path. The method receive a generic class...

enhancement

Most modern compilers like Rust and Swift support special set arithmetic operations which cause to exceptions when result is overflow or underflow. + In `Swift` all integer operations checked by...

enhancement
help wanted