A TypeScript-like language for WebAssembly.
120 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | std/assembly/iterator.ts | 14 | // ╒═══════════════════ Iterator layout (32-bit) ══════════════════╕ |
| MEDIUM | std/assembly/iterator.ts | 19 | // ├─────────────────────────────────────────────────────────┬───┬─┤ |
| MEDIUM | std/assembly/iterator.ts | 21 | // └─────────────────────────────────────────────────────────┴───┴─┘ |
| MEDIUM | std/assembly/shared/typeinfo.ts | 3 | // ╒═══════════════════ Typeinfo interpretation ═══════════════════╕ |
| MEDIUM | std/assembly/shared/typeinfo.ts | 8 | // ╞═══════════════════════════════════════════════════════════════╡ ┐ |
| MEDIUM | std/assembly/shared/typeinfo.ts | 10 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/itcms.ts | 9 | // ╒═════════════╤══════════════ Colors ═══════════════════════════╕ |
| MEDIUM | std/assembly/rt/itcms.ts | 11 | // ├─────────────┼─────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/itcms.ts | 16 | // └─────────────┴─────────────────────────────────────────────────┘ |
| MEDIUM | std/assembly/rt/itcms.ts | 64 | // ╒═══════════════ Managed object layout (32-bit) ════════════════╕ |
| MEDIUM | std/assembly/rt/itcms.ts | 69 | // ╞═══════════════════════════════════════════════════════════╤═══╡ |
| MEDIUM | std/assembly/rt/itcms.ts | 71 | // ├───────────────────────────────────────────────────────────┴───┤ |
| MEDIUM | std/assembly/rt/itcms.ts | 73 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/itcms.ts | 75 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/itcms.ts | 77 | // ╞>ptr═══════════════════════════════════════════════════════════╡ |
| MEDIUM | std/assembly/rt/common.ts | 23 | // ╒════════════ Memory manager block layout (32-bit) ═════════════╕ |
| MEDIUM | std/assembly/rt/common.ts | 28 | // ╞>ptr═══════════════════════════════════════════════════════════╡ |
| MEDIUM | std/assembly/rt/common.ts | 45 | // ╒══════════ Garbage collector object layout (32-bit) ═══════════╕ |
| MEDIUM | std/assembly/rt/common.ts | 50 | // ╞═══════════════════════════════════════════════════════════════╡ |
| MEDIUM | std/assembly/rt/common.ts | 52 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/common.ts | 54 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/common.ts | 56 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/common.ts | 58 | // ╞>ptr═══════════════════════════════════════════════════════════╡ |
| MEDIUM | std/assembly/rt/tlsf.ts | 55 | // ╒════════════════════ Block layout (32-bit) ════════════════════╕ |
| MEDIUM | std/assembly/rt/tlsf.ts | 60 | // ╞>ptr═══════════════════════════════════════════════════════╧═╧═╡ │ ┘ |
| MEDIUM | std/assembly/rt/tlsf.ts | 62 | // ├───────────────────────────────────────────────────────────────┤ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 64 | // ├───────────────────────────────────────────────────────────────┤ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 66 | // ├───────────────────────────────────────────────────────────────┤ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 68 | // └───────────────────────────────────────────────────────────────┘ >= MIN SIZE |
| MEDIUM | std/assembly/rt/tlsf.ts | 100 | // ╒═════════════════════ Root layout (32-bit) ════════════════════╕ |
| MEDIUM | std/assembly/rt/tlsf.ts | 105 | // ╞═══════════════════════════════════════════════════════════════╡ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 107 | // ├───────────────────────────────────────────────────────────────┤ │ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 109 | // ├───────────────────────────────────────────────────────────────┤ u32 │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 111 | // ╞═══════════════════════════════════════════════════════════════╡ usize |
| MEDIUM | std/assembly/rt/tlsf.ts | 113 | // ├───────────────────────────────────────────────────────────────┤ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 115 | // ├───────────────────────────────────────────────────────────────┤ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 117 | // ╞═══════════════════════════════════════════════════════════════╡ │ |
| MEDIUM | std/assembly/rt/tlsf.ts | 119 | // └───────────────────────────────────────────────────────────────┘ SIZE ┘ |
| MEDIUM | std/assembly/rt/tlsf.ts | 11 | // ╒══════════════ Block size interpretation (32-bit) ═════════════╕ |
| MEDIUM | std/assembly/rt/tlsf.ts | 16 | // └───────────────────────────────────────────────┴───────╨───────┘ |
| MEDIUM | std/assembly/rt/tcms.ts | 7 | // ╒═════════════╤══════════════ Colors ═══════════════════════════╕ |
| MEDIUM | std/assembly/rt/tcms.ts | 9 | // ├─────────────┼─────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/tcms.ts | 13 | // └─────────────┴─────────────────────────────────────────────────┘ |
| MEDIUM | std/assembly/rt/tcms.ts | 44 | // ╒═══════════════ Managed object layout (32-bit) ════════════════╕ |
| MEDIUM | std/assembly/rt/tcms.ts | 49 | // ╞═══════════════════════════════════════════════════════════╤═══╡ |
| MEDIUM | std/assembly/rt/tcms.ts | 51 | // ├───────────────────────────────────────────────────────────┴───┤ |
| MEDIUM | std/assembly/rt/tcms.ts | 53 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/tcms.ts | 55 | // ├───────────────────────────────────────────────────────────────┤ |
| MEDIUM | std/assembly/rt/tcms.ts | 57 | // ╞>ptr═══════════════════════════════════════════════════════════╡ |
| MEDIUM | src/compiler.ts | 2608 | // (?block $continue │ │ if loops: (incrementor) ─────┘ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | util/browser/path.js | 1 | import * as process from "./process.js"; |
| LOW | util/browser/process.js | 21 | // Redistribution and use in source and binary forms, with or without |
| LOW | tests/parser/class.ts.fixture.ts | 21 | } |
| LOW | tests/parser/literals.ts.fixture.ts | 121 | // ERROR 6188: "Numeric separators are not allowed here." in literals.ts(103,2+0) |
| LOW | tests/parser/union.ts.fixture.ts | 1 | export let a = 1; |
| LOW | …sts/parser/definite-assignment-assertion.ts.fixture.ts | 21 | // ERROR 1263: "Declarations with initializers cannot also have definite assignment assertions." in definite-assignment- |
| LOW | tests/parser/interface-errors.ts.fixture.ts | 21 | // ERROR 1176: "Interface declaration cannot have 'implements' clause." in interface-errors.ts(8,15+10) |
| LOW | tests/parser/numeric-separators.ts.fixture.ts | 41 | // ERROR 6189: "Multiple consecutive numeric separators are not permitted." in numeric-separators.ts(21,6+0) |
| LOW | tests/parser/tuple-errors.ts.fixture.ts | 1 | // ERROR 2456: "Type alias 'Loop' circularly references itself." in tuple-errors.ts(1,13+4) |
| LOW | tests/compiler/call-inferred.ts | 41 | |
| LOW | tests/compiler/features/relaxed-simd.ts | 81 | // r = i32x4.relaxed_dot_i8x16_i7x16_add_s(v, v, v); |
| LOW | tests/compiler/std/string.ts | 801 | // Expected: 2.98023223876953125e-8 |
| LOW | tests/compiler/std/math.ts | 361 | // assert(test_acosh(1.00183940730320464, 0.0606439391272710696, -0.27641335129737854, INEXACT)); |
| LOW | tests/compiler/std/math.ts | 501 | // assert(test_asinh(0.24297705017513252, 0.240647613714979003, 0.464605927467346191, INEXACT)); |
| LOW | std/assembly/iterator.ts | 1 | export abstract class Iterable<T> { |
| LOW | std/assembly/rt.ts | 61 | // // @ts-ignore: decorator |
| LOW | std/assembly/rt.ts | 81 | // // @ts-ignore: decorator |
| LOW | std/assembly/object.ts | 21 | } |
| LOW | std/assembly/util/math.ts | 661 | } else { |
| LOW | std/assembly/util/math.ts | 701 | let scale = reinterpret<f64>(sbits); |
| LOW | std/assembly/util/math.ts | 1821 | // #elif EXP_USE_TOINT_NARROW |
| LOW | std/assembly/rt/itcms.ts | 1 | import { BLOCK, BLOCK_OVERHEAD, OBJECT_OVERHEAD, OBJECT_MAXSIZE, TOTAL_OVERHEAD, DEBUG, TRACE, RTRACE, PROFILE } from ". |
| LOW | std/assembly/rt/itcms.ts | 61 | // @ts-ignore: decorator |
| LOW | std/assembly/rt/common.ts | 41 | @inline export const BLOCK_MAXSIZE: usize = (1 << 30) - BLOCK_OVERHEAD; |
| LOW | std/assembly/rt/tlsf.ts | 1 | import { AL_BITS, AL_SIZE, AL_MASK, DEBUG, BLOCK, BLOCK_OVERHEAD, BLOCK_MAXSIZE } from "./common"; |
| LOW | std/assembly/rt/tlsf.ts | 21 | // @ts-ignore: decorator |
| LOW | std/assembly/rt/tlsf.ts | 41 | // [09]: < 128K [21]: < 512M |
| LOW | std/assembly/rt/tlsf.ts | 61 | // │ if free: ◄ prev │ ◄─┤ usize |
| LOW | std/assembly/rt/tlsf.ts | 101 | // 3 2 1 |
| LOW | std/assembly/rt/tcms.ts | 1 | import { BLOCK, BLOCK_OVERHEAD, OBJECT_OVERHEAD, OBJECT_MAXSIZE, TOTAL_OVERHEAD, DEBUG, TRACE, RTRACE } from "./common"; |
| LOW | std/assembly/rt/tcms.ts | 41 | // @ts-ignore: decorator |
| LOW | lib/loader/tests/index.js | 241 | // assert.strictEqual(fn(2), 4); |
| LOW | src/module.ts | 81 | export const Noneref = binaryen._BinaryenTypeNullref(); |
| LOW | src/module.ts | 1381 | return binaryen._BinaryenConst(this.ref, out); |
| LOW | src/program.ts | 21 | // │ ├─TypedElement Base class of elements resolving to a type |
| LOW | src/program.ts | 2881 | // case BuiltinSymbols.Uint16Array: return Type.u16; |
| LOW | src/compiler.ts | 2481 | // (?block $continue |
| LOW | src/compiler.ts | 2601 | let numLocalsBefore = outerFlow.targetFunction.localsByIndex.length; |
| LOW | src/compiler.ts | 3281 | // (body) |
| LOW | src/bindings/js.ts | 61 | // |
| LOW | src/bindings/js.ts | 81 | // - Interface Types `string` will be incompatible with JavaScript `String` and |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/parser/parameter-order.ts | 8 | function optionalCannotPrecedeRequired(a?: i32, b: i32): void {} |
| LOW | tests/parser/parameter-order.ts | 11 | function optionalWithInitializerCannotPrecedeRequired(a: i32 = 1, b: i32): void {} |
| LOW | tests/parser/parameter-order.ts.fixture.ts | 4 | function optionalCannotPrecedeRequired(a?: i32, b: i32): void {} |
| LOW | tests/parser/parameter-order.ts.fixture.ts | 5 | function optionalWithInitializerCannotPrecedeRequired(a: i32 = 1, b: i32): void {} |
| LOW | tests/compiler/possibly-null.ts | 55 | export function testNotNeNullContinuation(a: Ref | null): void { |
| LOW | tests/compiler/do.ts | 63 | function testAlwaysTrueNeverBreaks(): i32 { |
| LOW | tests/compiler/while.ts | 65 | function testAlwaysTrueNeverBreaks(): i32 { |
| LOW | tests/compiler/while.ts | 179 | function testIfImplicitContinueThen(): void { |
| LOW | tests/compiler/while.ts | 195 | function testIfImplicitContinueElse(): void { |
| LOW | tests/compiler/switch.ts | 77 | function doSwitchFallThroughDefault(n: i32): i32 { |
| LOW | tests/compiler/switch.ts | 285 | function doSwitchClassInstanceWithOverload(foo: BarClass | null): i32 { |
| LOW | tests/compiler/managed-cast.ts | 46 | function testDowncastFromToNullable(animal: Animal | null): void { |
| LOW | tests/compiler/std/array.ts | 971 | function createReverseOrderedArray(size: i32): Array<i32> { |
| LOW | tests/compiler/std/array.ts | 989 | function createReverseOrderedNestedArray(size: i32): Array<Array<i32>> { |
| LOW | tests/compiler/std/array.ts | 1008 | function createReverseOrderedElementsArray(size: i32): Array<Proxy<i32>> { |
| LOW | tests/compiler/std/array.ts | 1065 | function assertStableSortedForComplexObjects(): void { |
| LOW | tests/compiler/std/array-access.ts | 5 | export function stringArrayPropertyAccess(a: string[]): i32 { |
| LOW | tests/compiler/std/array-access.ts | 13 | export function stringArrayArrayPropertyAccess(a: string[][]): i32 { |
| LOW | tests/compiler/std/array-access.ts | 17 | export function stringArrayArrayMethodCall(a: string[][]): i32 { |
| LOW | lib/loader/index.js | 291 | function attachTypedArrayFunctions(ctor, name, align) { |
| LOW | lib/loader/umd/index.js | 348 | function attachTypedArrayFunctions(ctor, name, align) { |
| LOW | src/tokenizer.ts | 380 | export function isIllegalVariableIdentifier(name: string): bool { |
| LOW | src/index-wasm.ts | 285 | export function getDiagnosticRelatedRange(diagnostic: DiagnosticMessage): Range | null { |
| LOW | src/diagnostics.ts | 87 | export function diagnosticCategoryToString(category: DiagnosticCategory): string { |
| LOW | src/diagnostics.ts | 101 | export function diagnosticCategoryToColor(category: DiagnosticCategory): string { |
| LOW | src/bindings/js.ts | 1525 | export function liftRequiresExportRuntime(type: Type): bool { |
| LOW | src/bindings/js.ts | 1556 | export function lowerRequiresExportRuntime(type: Type): bool { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | src/compiler.ts | 982 | // utilize varargs stub to fill in omitted arguments |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/asinit.js | 170 | "Don't forget to install dependencies before you start:", |