| Summary: | [EGL] Use of static sections in operations should cause better error message | ||
|---|---|---|---|
| Product: | [Modeling] Epsilon | Reporter: | Louis Rose <louis> |
| Component: | Core | Assignee: | Dimitris Kolovos <dkolovos> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | louis |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=347016 | ||
| Whiteboard: | |||
I've caught the TypeNotFound exception, and raised instead the new EglUnallocatedOutputBufferException. The new error message is: The operation 'main' uses a static section but has not been annotated with @template. Committed to SVN. Assigning to Dimitris for build integration - thanks! Fixed in the SVN and in the latest interim version. Fixed in 0.9.0. These error messages will be redundant (and hence removed) once #347016 is fixed. |
[%=main()%] [% operation main() {%] foo [%}%] Causes the following error message: Type "out" not found. Normal operations cannot use static sections; an @template operation should be used for this purpose. The error message reveals an implementation detail and does not make obvious the root cause of the problem.