[V-118] String support #76
Annotations
8 errors
Run npm test:
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
|
Run npm test:
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
|
Run npm test:
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
|
Run npm test:
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
|
Run npm test:
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
|
Run npm test:
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
|
Run npm test:
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
|
Run npm test
Process completed with exit code 1.
|
Loading