Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The oclIsNew method should be included in the list of choices only for post-condition constraints #15

Closed
eclipse-ocl-bot opened this issue Sep 18, 2024 · 4 comments

Comments

@eclipse-ocl-bot
Copy link
Collaborator

| --- | --- |
| Bugzilla Link | 116664 |
| Status | CLOSED FIXED |
| Importance | P3 normal |
| Reported | Nov 16, 2005 09:24 EDT |
| Modified | May 27, 2011 02:41 EDT |
| Version | 1.0.0 |
| Reporter | Vishy Ramaswamy |

Description

This method (oclIsNew) is currently always included to the list of choices
(for OCL's content assist). However, it is applicable only for post-condition
constraints. If the user picks it from the list and the OCL is not used in a
post-condition constraint it results in a parser error.

@eclipse-ocl-bot
Copy link
Collaborator Author

By Christian Damus on Dec 29, 2005 12:34

Committed a fix that adds a new method

List IOclHelper::getSyntaxHelp(ConstraintType, String)

which provides the kind of constraint for which syntax help is required. The oclIsNew() operation is now only suggested for ConstraintType::POSTCONDITION.

The older method getSyntaxHelp(String) is now deprecated.

@eclipse-ocl-bot
Copy link
Collaborator Author

By Nick Boldt on Jan 28, 2008 16:34

Move to verified as per bug 206558.

@eclipse-ocl-bot
Copy link
Collaborator Author

By Ed Willink on May 27, 2011 02:40

Closing after over a year in verified state.

@eclipse-ocl-bot
Copy link
Collaborator Author

By Ed Willink on May 27, 2011 02:41

Closing after over a year in verified state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant