This error occurs when you try to define multiple constraint definitions using more than one colon (:
). Multiple constraint definitions must use the angled bracket syntax type:<constraint1, constraint2, etc>
.
{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0163.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}
To fix this error, use the angle bracket syntax for constraints:
{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}
{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0163.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}