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 9731dec commit 032745dCopy full SHA for 032745d
debugger/debugger.ts
@@ -308,7 +308,7 @@ export namespace Debugger {
308
309
function mapName(sourceName: string, isProperty: boolean) {
310
if (isProperty) {
311
- if (isValidIdentifier(sourceName)) {
+ if (!isValidIdentifier(sourceName)) {
312
return `["${sourceName}"]`;
313
} else {
314
return `.${sourceName}`;
@@ -335,6 +335,7 @@ export namespace Debugger {
335
isEscaped = false;
336
}
337
} else if (char === '"' || char === "'") {
338
+ //TODO: Handle bracket string types ([[foo]], [=[bar]=], etc...)
339
inQuote = char;
340
341
const [nameChar] = char.match("[^\"'`~!@#%%^&*%(%)%-+=%[%]{}|\\/<>,%.:;%s]");
0 commit comments