fi-0146: Invalid generated name {:#fi-0146}

This error occurs when you use the @generated_name attribute with an invalid name. Generated names must follow the same rules as all FIDL identifiers.

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

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

To fix this issue, change the @generated_name value to a valid identifier.

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

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