Open eclipse-ocl-bot opened 4 days ago
By Ed Willink on Apr 21, 2015 04:57
Providing these warnings highlights many areas where TypedElement.isRequired is not being determined properly.
The missing support for Collection of not-null is going to need resolving.
OclVoid::oclAsType(X) returning null is untenable. The OCL 2.3/2.4 words actually say it returns invalid. It is only the explicit OCL 2.4 clarification that says it returns null.
The new warnings may be helpful but they can also be very irritating. We must have preference settings.
| --- | --- | | Bugzilla Link | 464931 | | Status | NEW | | Importance | P3 normal | | Reported | Apr 18, 2015 09:51 EDT | | Modified | Dec 22, 2016 18:51 EDT | | Blocks | 507628 | | Reporter | Ed Willink |
Description
Safe navigation gives OCL sensible null support.
The user needs help
and of course null return validation.