glureau
09/10/2024, 1:43 PMdata class Foo(val bar: MyEnum = MyEnum.ONE)
When I select the primary constructor of this class and tries to get the KoParameterDeclaration.defaultValue of the first param I get null
, also the [KoParameterDeclaration].text does contain "val bar: MyEnum = MyEnum.ONE"
as expected.
I don't have this issue with other types so far, so maybe the enum class doesn't offer a proper default value?glureau
09/10/2024, 1:54 PMigor.wojda
09/11/2024, 4:04 PMglureau
09/11/2024, 4:07 PMigor.wojda
09/11/2024, 4:08 PM