The size constraint applied to a vector
or string
type definition must be a valid value of the uint32
type:
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0101-a.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0101-b.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
Ensure that this is the case:
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0101.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}