Home » Modeling » Epsilon » EVL fix guards marked as errors?
EVL fix guards marked as errors? [message #479282] |
Mon, 10 August 2009 14:17 |
Eclipse User |
|
|
|
Originally posted by: nyoescape.gmail.com
Hi all,
I've started to add some more quick fixes, and I've noticed that though
the Epsilon book says (listing 5.6, page 73) that I can specify guards
both for constraint and fixes, the JDT editor for .evl files adds error
markers to fix guards. Here is an example:
context ForkNode {
constraint ... {
check : ...
message : ...
fix {
guard : self.incoming.size >= 1 <-- **right here**
title : ..
do {
...
}
}
}
}
Looking at the book a bit in more detail, I've noticed that no examples
in the book use guards in fixes. Should I report it as a documentation
bug, or is it a bug in the JDT editor or EVL parser?
Cheers,
Antonio
|
|
|
Re: EVL fix guards marked as errors? [message #479334 is a reply to message #479282] |
Mon, 10 August 2009 17:22 |
Louis Rose Messages: 440 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
Hi Antonio,
I checked the EVL parser, and the rule for fix parts doesn't allow guard
parts. I think this is likely a documentation problem, but I'm not sure.
I'll file a bug report against EVL, and Dimitrios can comment when he's
back from vacation. I'll CC you.
Cheers,
Louis.
Antonio García Domínguez wrote:
> Hi all,
>
> I've started to add some more quick fixes, and I've noticed that though
> the Epsilon book says (listing 5.6, page 73) that I can specify guards
> both for constraint and fixes, the JDT editor for .evl files adds error
> markers to fix guards. Here is an example:
>
> context ForkNode {
> constraint ... {
> check : ...
> message : ...
> fix {
> guard : self.incoming.size >= 1 <-- **right here**
> title : ..
> do {
> ...
> }
> }
> }
> }
>
> Looking at the book a bit in more detail, I've noticed that no examples
> in the book use guards in fixes. Should I report it as a documentation
> bug, or is it a bug in the JDT editor or EVL parser?
>
> Cheers,
> Antonio
|
|
|
Re: EVL fix guards marked as errors? [message #479341 is a reply to message #479334] |
Mon, 10 August 2009 17:28 |
Louis Rose Messages: 440 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
The bug report is here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=286148
Louis Rose wrote:
> Hi Antonio,
>
> I checked the EVL parser, and the rule for fix parts doesn't allow guard
> parts. I think this is likely a documentation problem, but I'm not sure.
>
> I'll file a bug report against EVL, and Dimitrios can comment when he's
> back from vacation. I'll CC you.
>
> Cheers,
> Louis.
>
> Antonio García Domínguez wrote:
>> Hi all,
>>
>> I've started to add some more quick fixes, and I've noticed that though
>> the Epsilon book says (listing 5.6, page 73) that I can specify guards
>> both for constraint and fixes, the JDT editor for .evl files adds error
>> markers to fix guards. Here is an example:
>>
>> context ForkNode {
>> constraint ... {
>> check : ...
>> message : ...
>> fix {
>> guard : self.incoming.size >= 1 <-- **right here**
>> title : ..
>> do {
>> ...
>> }
>> }
>> }
>> }
>>
>> Looking at the book a bit in more detail, I've noticed that no examples
>> in the book use guards in fixes. Should I report it as a documentation
>> bug, or is it a bug in the JDT editor or EVL parser?
>>
>> Cheers,
>> Antonio
>
|
|
|
Re: EVL fix guards marked as errors? [message #479397 is a reply to message #479341] |
Mon, 10 August 2009 20:55 |
Eclipse User |
|
|
|
Originally posted by: nyoescape.gmail.com
Hi Louis,
>> I checked the EVL parser, and the rule for fix parts doesn't allow
>> guard parts. I think this is likely a documentation problem, but I'm
>> not sure.
>>
>> I'll file a bug report against EVL, and Dimitrios can comment when
>> he's back from vacation. I'll CC you.
Thanks! :-)
Regards,
Antonio
|
|
|
Re: EVL fix guards marked as errors? [message #573477 is a reply to message #479282] |
Mon, 10 August 2009 17:22 |
Louis Rose Messages: 440 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
Hi Antonio,
I checked the EVL parser, and the rule for fix parts doesn't allow guard
parts. I think this is likely a documentation problem, but I'm not sure.
I'll file a bug report against EVL, and Dimitrios can comment when he's
back from vacation. I'll CC you.
Cheers,
Louis.
Antonio García Domínguez wrote:
> Hi all,
>
> I've started to add some more quick fixes, and I've noticed that though
> the Epsilon book says (listing 5.6, page 73) that I can specify guards
> both for constraint and fixes, the JDT editor for .evl files adds error
> markers to fix guards. Here is an example:
>
> context ForkNode {
> constraint ... {
> check : ...
> message : ...
> fix {
> guard : self.incoming.size >= 1 <-- **right here**
> title : ..
> do {
> ...
> }
> }
> }
> }
>
> Looking at the book a bit in more detail, I've noticed that no examples
> in the book use guards in fixes. Should I report it as a documentation
> bug, or is it a bug in the JDT editor or EVL parser?
>
> Cheers,
> Antonio
|
|
|
Re: EVL fix guards marked as errors? [message #573499 is a reply to message #479334] |
Mon, 10 August 2009 17:28 |
Louis Rose Messages: 440 Registered: July 2009 Location: York, United Kingdom |
Senior Member |
|
|
The bug report is here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=286148
Louis Rose wrote:
> Hi Antonio,
>
> I checked the EVL parser, and the rule for fix parts doesn't allow guard
> parts. I think this is likely a documentation problem, but I'm not sure.
>
> I'll file a bug report against EVL, and Dimitrios can comment when he's
> back from vacation. I'll CC you.
>
> Cheers,
> Louis.
>
> Antonio García Domínguez wrote:
>> Hi all,
>>
>> I've started to add some more quick fixes, and I've noticed that though
>> the Epsilon book says (listing 5.6, page 73) that I can specify guards
>> both for constraint and fixes, the JDT editor for .evl files adds error
>> markers to fix guards. Here is an example:
>>
>> context ForkNode {
>> constraint ... {
>> check : ...
>> message : ...
>> fix {
>> guard : self.incoming.size >= 1 <-- **right here**
>> title : ..
>> do {
>> ...
>> }
>> }
>> }
>> }
>>
>> Looking at the book a bit in more detail, I've noticed that no examples
>> in the book use guards in fixes. Should I report it as a documentation
>> bug, or is it a bug in the JDT editor or EVL parser?
>>
>> Cheers,
>> Antonio
>
|
|
|
Re: EVL fix guards marked as errors? [message #573521 is a reply to message #479341] |
Mon, 10 August 2009 20:55 |
|
Hi Louis,
>> I checked the EVL parser, and the rule for fix parts doesn't allow
>> guard parts. I think this is likely a documentation problem, but I'm
>> not sure.
>>
>> I'll file a bug report against EVL, and Dimitrios can comment when
>> he's back from vacation. I'll CC you.
Thanks! :-)
Regards,
Antonio
|
|
|
Goto Forum:
Current Time: Fri Apr 19 20:15:14 GMT 2024
Powered by FUDForum. Page generated in 0.02757 seconds
|