Skip to content

Commit 794ae53

Browse files
committed
Identifiers for CallExpressions are now arrays of tokens.
1 parent 254487c commit 794ae53

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ The LanguageService will not track any mutations for already-initialized variabl
105105

106106
## Changelog:
107107

108+
**v1.0.34**:
109+
110+
- Identifiers for CallExpressions are now arrays of tokens.
111+
108112
**v1.0.33**:
109113

110114
- Added support for CallExpressions that are BinaryExpressions.

src/formatter/CallableFormatter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ export abstract class CallableFormatter implements ICallableFormatter {
6969
}
7070

7171
else if (isBinaryExpression(exp)) {
72-
const value = this.valueableFormatter.format(exp);
73-
identifier = value.hasDoneFirstResolve() ? value.resolved : value.resolve();
72+
identifier = this.valueableFormatter.format(exp);
7473
}
7574

7675
if (identifier == null) {

0 commit comments

Comments
 (0)