diff --git a/ts2panda/src/debuginfo.ts b/ts2panda/src/debuginfo.ts index 0eff7e3c0da6f98bc3e757ac978f0af03d6a1297..edfe5a01f3610e7ce64c46cbce431d9ab3e54d54 100644 --- a/ts2panda/src/debuginfo.ts +++ b/ts2panda/src/debuginfo.ts @@ -321,6 +321,9 @@ export class DebugInfo { if (!value.hasAlreadyBinded()) { return; } + if (value.getName() == "0this" || value.getName() == "0newTarget") { + return; + } let variableInfo = new VariableDebugInfo(key, "any", "any", (value.getVreg().num)); variableInfo.setStart(scope.getScopeStartInsIdx()); variableInfo.setLength(scope.getScopeEndInsIdx() - scope.getScopeStartInsIdx());