Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
552 stars 42 forks source link

"RangeError: Maximum call stack size exceeded" while translating @types/pouchdb 6.4.0 #326

Open epabst opened 4 years ago

epabst commented 4 years ago
> dukat build/js/node_modules/@types/pouchdb/index.d.ts
unresolved exception
RangeError: Maximum call stack size exceeded
    at Object.getPathComponents (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:15547:26)
    at Object.resolvePath (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:15718:82)
    at Object.normalizePath (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:15468:19)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:101)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:30)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:30)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:30)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:30)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:30)
    at DependencyBuilder.buildDependencies (/usr/local/lib/node_modules/dukat/lib/converter.js:25868:30)
epabst commented 4 years ago

It has no error doing the translation with dukat@0.0.21, dukat@0.0.20, dukat@0.0.18, or dukat@0.0.5. It fails with a different errors doing the translation with dukat@0.5.4, dukat@0.5.0, dukat@0.0.28 to dukat@0.0.25, dukat@0.0.23, and dukat@0.0.22.