Skip to content

VM sim & Page

VM sim & Page #177

Triggered via pull request December 18, 2023 02:56
Status Failure
Total duration 1m 12s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
all: simulator/src/languages/asm.ts#L291
Type '{ type: "A"; label: string; } | { type: "A"; value: number; }' is not assignable to type 'AsmAInstruction'.
all: simulator/src/languages/asm.ts#L296
Cannot find name 'COMMANDS_ASM'.
all: simulator/src/languages/asm.ts#L300
Type '{ type: "C"; op: any; isM: any; }' is missing the following properties from type 'AsmCInstruction': span, lineNum
all: simulator/src/languages/asm.ts#L302
Element implicitly has an 'any' type because expression of type 'COMMANDS_ASM' can't be used to index type 'Record<"0" | "1" | "-1" | "D" | "A" | "!D" | "!A" | "-D" | "-A" | "D+1" | "A+1" | "D-1" | "A-1" | "D+A" | "D-A" | "A-D" | "D&A" | "D|A", COMMANDS_OP>'.
all: simulator/src/languages/asm.ts#L312
Cannot find name 'COMMANDS_ASM'.
all: simulator/src/languages/asm.ts#L315
Property 'lineNum' is missing in type '{ type: "L"; label: string; }' but required in type 'AsmLabelInstruction'.
all: cli/src/grading.ts#L7
Cannot find module '@nand2tetris/simulator/projects/runner.js' or its corresponding type declarations.
all: cli/src/testrunner.ts#L3
Cannot find module '@nand2tetris/simulator/projects/runner.js' or its corresponding type declarations.
all: components/src/clockface.tsx#L4
Cannot find module '@nand2tetris/simulator/chip/clock.js' or its corresponding type declarations.
all: components/src/compare.ts#L2
Cannot find module '@nand2tetris/simulator/languages/cmp.js' or its corresponding type declarations.