|
|
|
Re: "oclAsType" in ATL [message #1754253 is a reply to message #1754237] |
Wed, 15 February 2017 12:44  |
Eclipse User |
|
|
|
Hi
Ow! The operations oclIsNew() and oclAsType() defined by OCL are currently not supported by the ATL engine.
Omitting oclIsNew() is very understandable, it is very hard and very costly to support and I've yet to want to use it. Omitting oclAsType() is very unfortunate. It is very useful and very easy to implement. I see no Bugzilla requesting it.
I guess that the justification is that a declaration transformation language does pattern matching and so assignments do oclAsType automatically or fail.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.04806 seconds