This commit is contained in:
Tony Garnock-Jones 2024-04-04 15:52:52 +02:00
parent 6b58ef9f0f
commit b6092b2a98
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import { AnyValue, Assertion, Ref } from './actor.js';
import { Bag, ChangeDescription } from './bag.js';
import * as Stack from './stack.js';
import * as P from '../gen/dataspacePatterns.js';
import { Path, analysePattern, classOfCtor, classOfValue, step } from './pattern.js';
import { Path, analysePattern, classOfCtor, classOfValue, step, Shape } from './pattern.js';
enum EventType {
ADDED = +1,
@ -156,7 +156,7 @@ type Selector = [number, AnyValue];
class Node<T> {
readonly continuation: Continuation<T>;
readonly edges: KeyedDictionary<Ref, Selector, { [shape: string]: Node<T> }> = new KeyedDictionary();
readonly edges: KeyedDictionary<Ref, Selector, { [shape: Shape]: Node<T> }> = new KeyedDictionary();
constructor(continuation: Continuation<T>) {
this.continuation = continuation;