Remove `nothing` nodes from `locals` arg.

pull/556/head
Rick Carlino 2017-12-06 17:30:23 -06:00
parent 986ee29dad
commit 055171296e
6 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ export function fakeSequence(): TaggedSequence {
args: {
version: 4,
label: "WIP",
locals: { kind: "nothing", args: {} },
locals: { kind: "scope_declaration", args: {} },
},
id: 12,
color: "red",

View File

@ -24,7 +24,7 @@ export let fakeFarmEventWithExecutable = (): FarmEventWithExecutable => {
color: "red",
name: "faker",
kind: "sequence",
args: { version: 0, label: "WIP", locals: { kind: "nothing", args: {} }, }
args: { version: 0, label: "WIP", locals: { kind: "scope_declaration", args: {} }, }
}
};
};

View File

@ -282,7 +282,7 @@ const tr13: TaggedResource = {
"is_outdated": false,
"version": 4,
"label": "foo",
"locals": { kind: "nothing", args: {} },
"locals": { kind: "scope_declaration", args: {} },
},
"kind": "sequence"
},

View File

@ -42,7 +42,7 @@ describe("mapStateToProps()", () => {
"args": {
"version": 4,
"label": "WIP",
locals: { kind: "nothing", args: {} },
"locals": { "kind": "scope_declaration", "args": {} },
},
"kind": "sequence"
},

View File

@ -45,7 +45,7 @@ describe("commitBulkEditor()", () => {
"color": "gray",
"body": [{ kind: "wait", args: { milliseconds: 100 } }],
"args": {
locals: { kind: "nothing", args: {} },
"locals": { kind: "scope_declaration", args: {} },
"version": 4,
"label": "WIP"
},

View File

@ -23,7 +23,7 @@ describe("maybeTagSteps()", () => {
}
],
"args": {
"locals": { kind: "nothing", args: {} },
"locals": { kind: "scope_declaration", args: {} },
"version": 4
},
"kind": "sequence"