fi-0007: Unexpected token {:#fi-0007}

This error occurs when an unexpected token is encountered during parsing. Generally speaking, this is the result of a typo:

{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0007.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}

The fix to this problem is typically to remove the unexpected token, or in some cases, provide the rest of the missing syntax:

{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0007.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}