This error occurs when you use an invalid version for an added
or removed
argument on an @available
attribute. added
and removed
arguments must be positive integers between 1 and 2^63-1, or the special constant HEAD
.
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0153.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
To fix this issue, change the version to a valid value:
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0153.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}