peterharaszin / yakindu

Automatically exported from code.google.com/p/yakindu
0 stars 0 forks source link

active(state) expression is not handled as boolean expression #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[active(<state>)] works great to allow a transition when I'm in a
particular state, however, [!active(<state>)] gives a syntax error. I
also tried [active(<state>) != true], but it didn't work either. Does
active(<state>) not return a boolean? It sure would be nice if it did.

What steps will reproduce the problem?
1. define a guard with !active(<state>) 

What is the expected output? What do you see instead?
it is expected that this is a valid expression but an error marker is set 

Original issue reported on code.google.com by AxelTerfloth on 22 May 2012 at 7:05

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by A.Muel...@googlemail.com on 23 May 2012 at 8:06

GoogleCodeExporter commented 9 years ago

Original comment by AxelTerfloth on 29 Sep 2014 at 2:05