Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
548 stars 44 forks source link

Short-circuit module conversion if it has no body #510

Open xian opened 1 year ago

xian commented 1 year ago

Otherwise converting ace-builds fails with TypeError: Cannot read properties of undefined (reading 'kind').

Summary

Check that a module has a body before attempting to convert it. I don't see any closely-related unit tests to add to, sorry.

Related Issue

508