Repository navigation
Conversation
20e83b8 to
e373a85
Compare
|
A text node can't belong to a slot, since we can only set a So we render the text node in the default slot regardless of where it's slotted and regardless of the errors we report. But, reporting the error does seem desirable in this case – the user needs to know that they're trying to incorrectly put text into a slot that can't accept it. |
Adds a reproducer for inconsistent diagnostics when a text inserter is used inside a named slot. Co-Authored-By: Codex GPT-6 Astra <codex@openai.com>
e373a85 to
d936da0
Compare
|
Thanks for clarifying; I updated the PR to document the inconsistency. |
|
Ah, I see. I'll need to look into it later but OTOH putting |
|
The inconsistency seems to come from |
Adds a reproducer for inconsistent diagnostics when a
text <--inserter is used inside a namedSlot.Observed behavior:
This test documents the inconsistency without prescribing whether the initial placement or the move should change.
Run:
sbt 'testOnly *TextInserterSlotMoveSpec'