You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package improbable;
// The enumeration
type ActivityData {
enum Activity {
SITTING = 0;
STANDING = 1;
WALKING = 2;
RUNNING = 3;
}
}
type ActivityChangedEvent {
ActivityData.Activity new_activity = 1;
}
// Parameters for transitioning between activites
component ActivityState {
option queryable = false;
id = 1007;
// these should not be updated directly. Use the changeActivity event!
ActivityData.Activity current = 1;
ActivityData.Activity previous = 2;
// The main event to change state via
event ActivityChangedEvent change_activity;
}
The plugin incorrectly reports "Expected ";" or "=" after event ActivityChangedEvent" and highlights "change_activity" with a red underline.
The text was updated successfully, but these errors were encountered:
For the file:
The plugin incorrectly reports "Expected ";" or "=" after event ActivityChangedEvent" and highlights "change_activity" with a red underline.
The text was updated successfully, but these errors were encountered: