RConsortium / S7

S7: a new OO system for R
https://rconsortium.github.io/S7
Other
399 stars 33 forks source link

Silently ignore missing arguments in constructor #446

Open t-kalinowski opened 1 month ago

t-kalinowski commented 1 month ago

As discussed in https://github.com/RConsortium/S7/pull/445, this PR allows missing arguments in a constructor to "skip" setting the property and avoid invoking a custom setter.

t-kalinowski commented 1 month ago

If/when promise accessors become part of the C "API", the code in this PR should be updated to use them (https://github.com/posit-dev/ark/pull/538#discussion_r1772858928)