Closed marcinbak closed 3 years ago
Hey @marcinbak! Thank you for the PR. Can you please add also a test case - so that it would be self-evident what the PR is about.
@Schahen I wanted to write a unit test for that but couldn't find any in the project. In what form and where should this test case go?
Please add your test in form of .webidl and .d.kt files with matching names to https://github.com/Kotlin/dukat/tree/master/compiler/test/data/idl You can then check if it passes by launching https://github.com/Kotlin/dukat/blob/master/compiler/test/src/org/jetbrains/dukat/compiler/tests/core/IdlTests.kt
Added tests to existing dictionary test cases so it's in one place. Hope that's ok.
Sure, LGTM. Thank you for your contribution!
Added support for null default value for nullable members of dictionaries.
Change required to parse specification https://www.w3.org/TR/IndexedDB/#events