You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For instance, in the signature below, clients should be able to omit a value for date, and the implementation of newCharge should still be able to rely on it not being null.
static operation newCharge(taxi : Taxi, payer : Driver, date : Date := { Date#today() });
We either need to relax the verification on the operation call site, or allow the modeler the declare the parameter as optional and still consider it to be required in the body of the operation implementation.
The text was updated successfully, but these errors were encountered:
For instance, in the signature below, clients should be able to omit a value for date, and the implementation of newCharge should still be able to rely on it not being null.
We either need to relax the verification on the operation call site, or allow the modeler the declare the parameter as optional and still consider it to be required in the body of the operation implementation.
The text was updated successfully, but these errors were encountered: