Skip to content

[V-118] String support #76

[V-118] String support

[V-118] String support #76

Triggered via pull request September 24, 2024 05:12
Status Failure
Total duration 20s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
src/__tests__/compiler.test.ts > E2E Compiler Pipeline > Compiler can compile and run a basic voyd program: src/semantics/init-entities.ts#L262
Error: Expected namespace string ❯ initDeclaration src/semantics/init-entities.ts:262:11 ❯ initEntities src/semantics/init-entities.ts:42:12 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17
src/__tests__/compiler.test.ts > E2E Compiler Pipeline > Compiler has good inference: src/semantics/init-entities.ts#L262
Error: Expected namespace string ❯ initDeclaration src/semantics/init-entities.ts:262:11 ❯ initEntities src/semantics/init-entities.ts:42:12 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17
src/__tests__/compiler.test.ts > E2E Compiler Pipeline > Compiler kitchen sink: src/semantics/init-entities.ts#L262
Error: Expected namespace string ❯ initDeclaration src/semantics/init-entities.ts:262:11 ❯ initEntities src/semantics/init-entities.ts:42:12 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17
src/__tests__/compiler.test.ts > E2E Compiler Pipeline > Compiler can do tco: src/semantics/init-entities.ts#L262
Error: Expected namespace string ❯ initDeclaration src/semantics/init-entities.ts:262:11 ❯ initEntities src/semantics/init-entities.ts:42:12 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17 ❯ src/syntax-objects/module.ts:89:49 ❯ VoidModule.applyMap src/syntax-objects/module.ts:89:9 ❯ initEntities src/semantics/init-entities.ts:24:17
src/parser/__tests__/parse-chars.test.ts > should parse the example file into a raw ast: src/parser/__tests__/parse-chars.test.ts#L7
Error: Snapshot `should parse the example file into a raw ast 1` mismatched - Expected + Received @@ -215,12 +215,31 @@ "console", ".", "log", [ [ - "string", + "String", - "Hey there!", + [ + "object", + [ + ":", + "chars", + [ + "FixedArray", + 72, + 101, + 121, + 32, + 116, + 104, + 101, + 114, + 101, + 33, + ], + ], + ], ], ], " ", " ", ❯ src/parser/__tests__/parse-chars.test.ts:7:24
src/parser/__tests__/parser.test.ts > parser can parse a file into a syntax expanded ast: src/parser/__tests__/parser.test.ts#L6
Error: Snapshot `parser can parse a file into a syntax expanded ast 1` mismatched - Expected + Received @@ -568,12 +568,33 @@ "block", [ "log", "console", [ - "string", + "String", - "Hey there!", + [ + "object", + [ + ":", + [ + "chars", + [ + "FixedArray", + 72, + 101, + 121, + 32, + 116, + 104, + 101, + 114, + 101, + 33, + ], + ], + ], + ], ], ], [ "unwrap", [ ❯ src/parser/__tests__/parser.test.ts:6:29
src/semantics/__tests__/regular-macros.test.ts > regular macro expansion: src/semantics/__tests__/regular-macros.test.ts#L21
Error: Snapshot `regular macro expansion 1` mismatched - Expected + Received @@ -2,11 +2,11 @@ "module", "root", [ "exports", [ - "std#729", + "std#795", ], ], [ [ "module", @@ -42,11 +42,11 @@ "all", ], ], [ "regular-macro", - "`#758", + "`#824", [ "parameters", ], [ "block", @@ -63,11 +63,11 @@ ], ], ], [ "regular-macro", - "let#805", + "let#871", [ "parameters", ], [ "block", @@ -116,11 +116,11 @@ false, ], ], [ "regular-macro", - "fn#1408", + "fn#1516", [ "parameters", ], [ "block", @@ -165,12 +165,25 @@ "extract", "body", 1, ], [ - "string", + "String", - "->", + [ + "object", + [ + ":", + [ + "chars", + [ + "FixedArray", + 45, + 62, + ], + ], + ], + ], ], ], [ ":", "then", @@ -192,12 +205,25 @@ "extract", "body", 2, ], [ - "string", + "String", - "->", + [ + "object", + [ + ":", + [ + "chars", + [ + "FixedArray", + 45, + 62, + ], + ], + ], + ], ], ], [ ":", "then", @@ -341,14 +367,15 @@ "i32", ], ], [ "return_type", - "i32", + ], + [ - ], + "block", - [ + "->", - "block", + "i32", [ "block", [ "define", "base", ❯ src/semantics/__tests__/regular-macros.test.ts:21:20
test
Process completed with exit code 1.