Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364493

Summary: [environment] Why is environment registration necessary
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: Legacy

Description Ed Willink CLA 2011-11-22 11:46:45 EST
In the "Re: operation return type as Tuple" newsgroup thread, <jafvdk$cvm$1@news.eclipse.org> it appears to be necessary to invoke 

Environment.Registry.INSTANCE.registerEnvironment(ocl.getEnvironment()); 

in order to get Tuples to parse correctly.

This seems wrong. Once an OCL environment is created why isn't it configured so that it works?