Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'annotate' macro address is incorrect in conformance/system_macros/annotate.ion #151

Open
tgregg opened this issue Feb 19, 2025 · 0 comments
Labels

Comments

@tgregg
Copy link
Contributor

tgregg commented Feb 19, 2025

Annotate has system macro address 8: https://amazon-ion.github.io/ion-docs/books/ion-1-1/modules/system_module.html

In https://github.com/amazon-ion/ion-tests/blob/main/conformance/system_macros/annotate.ion , system macro address 2 is used.

(ion_1_1 "annotate can be invoked"
         (each "in text with an unqualified macro name"
               (text " (:annotate (::) 0) ")
               "in text with an unqualified macro address"
               (text " (:2 (::) 0) ")
               "in text with a qualified macro name"
               (text " (:$ion::annotate (::) 0) ")
               "in text using qualified system macro address 2"
               (text " (:$ion::2 (::) 0) ")
               "in binary using system macro address 2"
               (binary "EF 02 00 60")
               "in binary with a user macro address"
               (binary "02 00 60")
               (produces 0)))
@tgregg tgregg added the bug label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant