Skip to content

Commit a145e34

Browse files
committed
Make resolveName private
1 parent b96a879 commit a145e34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/decode/decode.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ class Decoder {
219219

220220
if (item.nameIdx !== undefined) {
221221
this.#scopeState.name += item.nameIdx;
222-
scope.name = this.resolveName(this.#scopeState.name);
222+
scope.name = this.#resolveName(this.#scopeState.name);
223223
}
224224
if (item.kindIdx !== undefined) {
225225
this.#scopeState.kind += item.kindIdx;
226-
scope.kind = this.resolveName(this.#scopeState.kind);
226+
scope.kind = this.#resolveName(this.#scopeState.kind);
227227
}
228228

229229
scope.isStackFrame = Boolean(
@@ -245,7 +245,7 @@ class Decoder {
245245

246246
for (const variableIdx of variableIdxs) {
247247
this.#scopeState.variable += variableIdx;
248-
scope.variables.push(this.resolveName(this.#scopeState.variable));
248+
scope.variables.push(this.#resolveName(this.#scopeState.variable));
249249
}
250250
}
251251

@@ -358,7 +358,7 @@ class Decoder {
358358
}
359359
}
360360

361-
protected resolveName(index: number): string {
361+
#resolveName(index: number): string {
362362
if (index < 0 || index >= this.#names.length) {
363363
this.#throwInStrictMode("Illegal index into the 'names' array");
364364
}

0 commit comments

Comments
 (0)