fix: only traversal needs to be dependent of firstSymbol
This commit is contained in:
parent
b2d588f4e7
commit
3bf8dd44cc
|
@ -95,8 +95,10 @@ export class TraversalCompiler {
|
|||
let valueSymbol;
|
||||
if (traversal.value) {
|
||||
valueSymbol = this.allocateItem(traversal.value);
|
||||
if ('traversal' === traversal.value.constructor.type()) {
|
||||
currentSymbol.dependencies.push(valueSymbol);
|
||||
}
|
||||
}
|
||||
// Allocate steps.
|
||||
for (const i in rest) {
|
||||
const step = rest[i];
|
||||
|
|
Loading…
Reference in New Issue
Block a user