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

Given the following AssemblyScript file: ```typescript class C { x: u8 | null; y: null | u8; } ``` I get the following errors: ``` $ asc tmp.ts ERROR TS1005:...

bug

### Question I'm encountering an issue which _might_ be a bug in assembly script. However I haven't managed to narrow it down to a simple reproduction program yet so I'm...

question

The use of function decorators results in a TS compiler error, `Decorators are not valid here`. ``` @inline export function floorDiv(a: i32, b: i32): i32 { return (a >= 0...

enhancement

### Bug description Compiling esm code cannot be used directly in the bundler module,.e.g: The Object.assign cant work. Because bundle module is not the same as browser esm.module export variable...

bug

Changes proposed in this pull request: ⯈Adding support for an interface extending multiple interfaces. - [x] I've read the contributing guidelines - [x] I've added my name and email to...

### Bug description I understand that I am doing the wrong things in the assembly script, but it seems to me that this error should not look like what is...

bug

### Bug description incorrect variable resolving. ```ts let a = 10; class A { v: i32 = a; constructor(a: f64) {} } new A(1.0); ``` ```bash ERROR AS200: Conversion from...

bug

(Barely) fixes #2793. Changes proposed in this pull request: ⯈ Check diagnostics after initialize (VERY BAD) ⯈ Forbid duplicate namespace/static class members Requiring the compiler to check diagnostics after initialize...

### Bug description ```ts class NS { static v: i32 = 2; } namespace NS { let v: i32 = 1; } ``` ``` Fatal: Module::addGlobal: assembly/index/NS.v already exists ▌...

bug