From a0712af032a8a6751a484db6d5ccd15a742fcd30 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 18 Jan 2021 15:32:38 +0100 Subject: [PATCH] Remove unused imports/variables --- packages/core/src/runtime/skeleton.ts | 2 +- packages/core/src/syntax/matcher.ts | 2 +- packages/core/src/syntax/template.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/runtime/skeleton.ts b/packages/core/src/runtime/skeleton.ts index d8f56e6..ff0c9bf 100644 --- a/packages/core/src/runtime/skeleton.ts +++ b/packages/core/src/runtime/skeleton.ts @@ -20,7 +20,7 @@ import { IdentitySet } from './idcoll.js'; import { is, Value, Record, Set, Dictionary, canonicalString, preserves, RecordConstructorInfo } from 'preserves'; import { Bag, ChangeDescription } from './bag.js'; -import { Discard, Capture, Observe } from './assertions.js'; +import { Discard, Capture } from './assertions.js'; import * as Stack from './stack.js'; diff --git a/packages/core/src/syntax/matcher.ts b/packages/core/src/syntax/matcher.ts index b715095..d2ff1f7 100644 --- a/packages/core/src/syntax/matcher.ts +++ b/packages/core/src/syntax/matcher.ts @@ -148,7 +148,7 @@ export function group(opener: string, items: Pattern, options: GroupOption } export function atomString(text: T, options: TokenOptions = {}): Pattern { - return map(atom(text, options), t => text); + return map(atom(text, options), _t => text); } export function atom(text?: string, options: TokenOptions = {}): Pattern { diff --git a/packages/core/src/syntax/template.ts b/packages/core/src/syntax/template.ts index 094e8f7..8a57bbd 100644 --- a/packages/core/src/syntax/template.ts +++ b/packages/core/src/syntax/template.ts @@ -1,4 +1,4 @@ -import { Items, TokenType } from './tokens.js'; +import { Items } from './tokens.js'; import { Pos, startPos } from './position.js'; import { laxRead } from './reader.js'; import * as M from './matcher.js';