This works:
#set heading(numbering: "1.")
= Heading <ab>
@ab
But this does not:
#set heading(numbering: "1.")
= Heading #label("a" + "b")
@ab
The latter program fails with error: cannot reference text. I'm guessing that the #label is being associated with the string "Heading" rather than the entire heading syntax node. Is that the issue? If so, how do I resolve the ambiguity?