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
enum ImageState {
IMAGE_STATE_UNSPECIFIED = 0;
IMAGE_STATE_READONLY = 1; /* unlocked */
IMAGE_STATE_MUSTLOCK = 2; /* must be locked */
IMAGE_STATE_LOCKED = 3; /* locked */
IMAGE_STATE_LOCKED_EMPTY = 4; /* locked and empty */
IMAGE_STATE_TEMPORARY = 5; /* copied to temp file (no lock needed) */
}
fails with
Caused by: java.lang.IllegalStateException: Syntax error in C:\Users\yuri\StudioProjects\emulator-tools\emulator-proto\src\commonMain\proto/avd_service.proto:51:50: no syntax may follow trailing comment
at com.squareup.wire.schema.internal.parser.SyntaxReader.unexpected(SyntaxReader.kt:424)
at com.squareup.wire.schema.internal.parser.SyntaxReader.tryAppendTrailingDocumentation(SyntaxReader.kt:467)
at com.squareup.wire.schema.internal.parser.ProtoParser.readEnumConstant(ProtoParser.kt:569)
at com.squareup.wire.schema.internal.parser.ProtoParser.readDeclaration(ProtoParser.kt:169)
at com.squareup.wire.schema.internal.parser.ProtoParser.readEnumElement(ProtoParser.kt:294)
at com.squareup.wire.schema.internal.parser.ProtoParser.readDeclaration(ProtoParser.kt:148)
at com.squareup.wire.schema.internal.parser.ProtoParser.readProtoFile(ProtoParser.kt:69)
at com.squareup.wire.schema.internal.parser.ProtoParser$Companion.parse(ProtoParser.kt:664)
at com.squareup.wire.schema.RootsKt.parse(Roots.kt:66)
at com.squareup.wire.schema.internal.CommonSchemaLoader.load(CommonSchemaLoader.kt:166)
at com.squareup.wire.schema.internal.CommonSchemaLoader.loadSourcePathFiles$wire_schema(CommonSchemaLoader.kt:120)
at com.squareup.wire.schema.internal.CommonSchemaLoader.loadSchema(CommonSchemaLoader.kt:103)
at com.squareup.wire.schema.SchemaLoader.loadSchema(SchemaLoader.kt:77)
at com.squareup.wire.schema.WireRun.execute$wire_schema(WireRun.kt:248)
at com.squareup.wire.schema.WireRun.execute(WireRun.kt:234)
at com.squareup.wire.gradle.WireTask.generateWireFiles(WireTask.kt:178)
Check seems harsh
// Ensure nothing follows a trailing star comment.
while (pos < data.size) {
val c = data[pos++]
if (c == '\n') {
newline()
break
}
expect(c == ' ' || c == '\t') { "no syntax may follow trailing comment" }
}
The text was updated successfully, but these errors were encountered:
fails with
Check seems harsh
The text was updated successfully, but these errors were encountered: