microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 101 forks source link

Unexpected crash! dts-gen input --module kotlin #133

Open trevjonez opened 5 years ago

trevjonez commented 5 years ago
npm install -g kotlin
+ kotlin@1.3.31
added 1 package from 1 contributor in 1.019s
dts-gen input --module kotlin
Unexpected crash! Please log a bug with the commandline you specified.

/usr/local/lib/node_modules/dts-gen/bin/lib/run.js:130
        throw e;
        ^
IllegalStateException: This continuation is already complete
    at IllegalStateException_init_0 (/usr/local/lib/node_modules/kotlin/kotlin.js:31084:29)
    at CompletedContinuation.get (/usr/local/lib/node_modules/kotlin/kotlin.js:30677:13)
    at getProperty (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:254:30)
    at Array.map (<anonymous>)
    at getPropertyDeclarationsOfObject (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:250:25)
    at getTypeOfValue (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:237:33)
    at getProperty (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:257:45)
    at Array.map (<anonymous>)
    at getPropertyDeclarationsOfObject (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:250:25)
    at getTypeOfValue (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:237:33)
dts-gen --version
0.5.7