diff --git a/ts2panda/src/compilerDriver.ts b/ts2panda/src/compilerDriver.ts index bbec2af11ba21bb313709060789d5594d40f153a..2613de96dfd061ac35085ba55443931435b46030 100644 --- a/ts2panda/src/compilerDriver.ts +++ b/ts2panda/src/compilerDriver.ts @@ -370,7 +370,7 @@ export class CompilerDriver { throw new Error("the function name is missing from the name map"); } - if (name.lastIndexOf(".") != -1) { + if (name.lastIndexOf(".") != -1 || name.lastIndexOf("\\") != -1) { name = `#${this.getFuncId(funcNode)}#` } }