Cannot link unqualified library names via Standard JSON #12145
Labels
breaking change ⚠️
bug 🐛
low effort
There is not much implementation work to be done. The task is very easy or tiny.
low impact
Changes are not very noticeable or potential benefits are limited.
needs design
The proposal is too vague to be implemented right away
nice to have
We don’t see a good reason not to have it but won’t go out of our way to implement it.
Description
In Standard JSON library addresses for linking require providing a source unit name and a library name as two separate components. For linking, these two parts are joined with a colon so even if the source unit name is empty, the colon is there.
This is different from the CLI where you can provide both
L
and:L
in the--libraries
option and for the former will let you match a reference without a colon.I don't see a good way to support unqualified library names in the current Standard JSON structure so maybe we should just disallow unqualified library names in
linkersymbol()
. This would be a breaking change though.Environment
develop
)Steps to Reproduce
input.json
:Output:
If you change
linkersymbol("L"))
in the input tolinkersymbol(":L"))
, the unlinked reference disappears.The text was updated successfully, but these errors were encountered: