out of curiosity, what did you expect would happen? To me, this seems like correct/expected
behaviour as there is no way to resolve that link. (I'm wondering if there is something wrong
or missing in the manual which has given a different expectation?)
For gor sake stop laughing, this is serious!
To reproduce, create a test file as follows:
link to [[*B][B]]
Put cursor on heading A
C-c C-e (org-export-dispatch)
C-s so Export scope is set to Subtree
t (export to plain text)
A (as ascii buffer)
I see error
user-error: Unable to resolve link: "*B"
Emacs : GNU Emacs 28.0.50 (build 28, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
Package: Org mode version 9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/elpa/org-plus-contrib-20210712/)