Closed GoogleCodeExporter closed 9 years ago
This occurs only when the guarded transition is within a nested state.
This code works:
class PoweredThing
{
boolean stayOn;
status {
On
{
power [stayOn] -> Sleep;
power [!stayOn]-> Off;
}
Sleep
{
power -> On;
}
Off { power -> On; }
}
}
This code gives the error:
class PoweredThing
{
boolean stayOn;
status {
On
{
OnOn
{
power [stayOn] -> Sleep;
power [!stayOn]-> Off;
}
Sleep
{
power -> OnOn;
}
}
Off { power -> On; }
}
}
Original comment by CraigBry...@gmail.com
on 21 Feb 2015 at 2:13
This issue was closed by revision r5138.
Original comment by CraigBry...@gmail.com
on 22 Feb 2015 at 5:35
Original issue reported on code.google.com by
CraigBry...@gmail.com
on 21 Feb 2015 at 1:57