Skip to content
Snippets Groups Projects
Commit 496cb6f8 authored by Johannes Mey's avatar Johannes Mey
Browse files

fix computation of ETypedElement.required()

parent c916163f
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ aspect EcoreAPI {
/**
* abstract ETypedElement : ENamedElement ::= <Required:boolean>;
*/
syn boolean ETypedElement.required() = getLowerBound() != 1;
syn boolean ETypedElement.required() = getLowerBound() > 0;
/**
* rel EAttribute.EAttributeType -> EDataType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment