diff --git a/ts2panda/src/debuginfo.ts b/ts2panda/src/debuginfo.ts index f002c920a104d17094fe93dd1ad5ecbf8c04d312..0a0094c3afa0d80818c353c3298d0da8420bbc01 100644 --- a/ts2panda/src/debuginfo.ts +++ b/ts2panda/src/debuginfo.ts @@ -326,6 +326,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());