-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
For the file:
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.
Metadata
Metadata
Assignees
Labels
No labels