[Acceleo] proper signature of template [message #1804893] |
Tue, 02 April 2019 16:27  |
Eclipse User |
|
|
|
Hi,
tell me, please what exactly means the following template call:
assuming that self is of type String.
- xx(a1: String, a2: String) where a1=self (of the caller), a2='txt',
- xx(a1: String) where a1='txt',
- first of the above which is defined
- nothing of the above, I completely misunderstand it?
The experiments show that the third option is true.
I'm confused because when none is defined, the OCL in Acceleo parser generate only one error mark with the signature (1) so only this version can be generated as quick fix. The mark is not (and it shouldn't be) generated if the second variant is defined as it would be more general case.
Tom
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04483 seconds