We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d51cf49 commit d49ddafCopy full SHA for d49ddaf
1 file changed
src/slang-nodes/TupleValues.ts
@@ -34,7 +34,8 @@ export class TupleValues implements SlangNode {
34
}
35
36
getSingleExpression(): Expression | undefined {
37
- return this.items.length === 1 ? this.items[0].expression : undefined;
+ const items = this.items;
38
+ return items.length === 1 ? items[0].expression : undefined;
39
40
41
print(path: AstPath<TupleValues>, print: PrintFunction): Doc {
0 commit comments