diesieben0711/22/2018, 11:08 AM
, which cannot be null.
to end up in a property at all, the property must have a nullable type. Hacking around with disabling the assertions is a terrible idea. You will receive random
in places. The assertions have a reason...
rrader11/22/2018, 11:20 AM
diesieben0711/22/2018, 11:30 AM
rrader11/22/2018, 11:54 AM
The library checks the types reported by Kotlin reflection.Why? Why just not to pass them to constructor and check the exception?
Validation and type-system are different thingsin this case they are the same, both do validation
can return all arguments that violate contract