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

move namespace statement parser to parseNamespace function and add additional tests Issue details: https://github.com/AssemblyScript/assemblyscript/issues/2303 Signed-off-by: Jesse - [x] I've read the contributing guidelines - [x] I've added my name and...

## Credits @DogWhich also found this interesting one on a whim ## Code ```ts typeof ((): void => {})(); ``` [Try it in the playground](https://www.assemblyscript.org/editor.html#IyFvcHRpbWl6ZT1zcGVlZCZydW50aW1lPXN0dWIKdHlwZW9mICgoKTogdm9pZCA9PiB7fSkoKTsKIyFodG1sCjx0ZXh0YXJlYSBpZD0ib3V0cHV0IiBzdHlsZT0iaGVpZ2h0OiAxMDAlOyB3aWR0aDogMTAwJSIgcmVhZG9ubHk+PC90ZXh0YXJlYT4KPHNjcmlwdD4KbG9hZGVyLmluc3RhbnRpYXRlKG1vZHVsZV93YXNtLCB7IC8qIGltcG9ydHMgKi8gfSkKICAudGhlbigoeyBleHBvcnRzIH0pID0+IHsKICAgIGNvbnN0IG91dHB1dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdvdXRwdXQnKQogICAgZm9yIChsZXQgaSA9IDA7IGkgPD0gMTA7ICsraSkgewogICAgICBvdXRwdXQudmFsdWUgKz0gYGZpYigke2l9KSA9ICR7ZXhwb3J0cy5maWIoaSl9XG5gCiAgICB9CiAgfSkKPC9zY3JpcHQ+) ## Stack trace ``` ▌...

bug

This is an issue to track support for unions. They help to make generic code very easy to write and very DRY. Unions may also help with https://github.com/AssemblyScript/assemblyscript/issues/816.

enhancement

Signed-off-by: jesse this PR is to enhance the test of src/parser.ts and mainly focus on [parseTypeParameter, parseParameters] functions. issue track id: https://github.com/AssemblyScript/assemblyscript/issues/2296 - [x] I've read the contributing guidelines -...

`npm run build:debug` means debug version (un-minified js files, contains the source maps) `npm run build:release` means release version (source maps without source content, minified js files) issue link: https://github.com/AssemblyScript/assemblyscript/issues/2286...

Currently, the project do not have test coverage feature, and we donot know if the test is enough or not. So I suggest if we can have test coverage feature,...

enhancement

Continuing from https://github.com/AssemblyScript/assemblyscript/issues/1973#issuecomment-880706201 to this new topic so as not to mix topics, here's an idea. What if `?.` returns `null` when something is `null`? This would work for objects...

enhancement

⯈using `npx asc` will transform the path from `a\b` to `a\\b`, so the entry path replace reg should be changed from `/\\/g` to `/\\+/g` - [x] I've read the contributing...

When dealing with adding global types for end users, as-pect and cli tools have always relied on adding something like this to an end user's project: ```ts /// ``` I...

⯈fix #1855 - [x] I've read the contributing guidelines - [x] I've added my name and email to the NOTICE file