We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a835b8 commit 568f082Copy full SHA for 568f082
extensions/ql-vscode/src/view/compare-performance/RAPrettyPrinter.tsx
@@ -70,14 +70,14 @@ function parseName(text: string): QualifiedName {
70
let args: QualifiedName[] | undefined;
71
if (skipToken(">")) {
72
args = [];
73
- while (peek() !== "<") {
+ while (tokens.length > 0 && peek() !== "<") {
74
args.push(parseQName());
75
skipToken(",");
76
}
77
args.reverse();
78
skipToken("<");
79
80
- const name = next();
+ const name = tokens.length === 0 ? "" : next();
81
const prefix = skipToken("::") ? parseQName() : undefined;
82
return {
83
prefix,
0 commit comments