Description of changes:
According to the Ion spec, annotation wrappers must wrap a value. This change allows for cleaner failure (via IonException) when this is violated.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes: According to the Ion spec, annotation wrappers must wrap a value. This change allows for cleaner failure (via
IonException
) when this is violated.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.