diff --git a/ts2panda/src/compilerDriver.ts b/ts2panda/src/compilerDriver.ts index 07fc21b2367aa1d3a475ca68c1f53f3bc8baa358..85c8b8356680bcc3dcf83ab4fb744abc25278d1d 100644 --- a/ts2panda/src/compilerDriver.ts +++ b/ts2panda/src/compilerDriver.ts @@ -371,7 +371,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)}#` } }