Burkhard
10/29/2019, 8:13 PMDefaultConstructorMarker used by the compiler? As I understand it, it is used to mark a constructor that fills in the default values. So the parameters of this special constructor are the same as the constructor it replaces + a mask parameter (int) and a dummy to ensure the paramterlist is unique (DefaultConstructorMarker).
So if I have only 1 constructor (in the koltin code) kotlin should only generate 1 function with the DefaultConstructorMarker as the last parameter, right?
The problem I have is that if the default value is an inline class, kotlin generates 2 functions with the DefaultConstructorMarker parameter, but one is missing the mask parameter. This leads to problems with moshi and inline classes