test: cover compatibility method text concatenation

This commit is contained in:
Hermes Agent
2026-09-14 22:01:51 +00:00
parent 7a165f8125
commit 43d596d85b
7 changed files with 33 additions and 1 deletions
+11
View File
@@ -409,6 +409,17 @@ SET player.name "Ada " + player.name
This reverse-order concatenation is also covered by focused validation, so learners can build text from either side without losing the declared `TEXT` field type.
Compatibility methods use the same TEXT concatenation rule. The older `TAKES` / `LEARNED` spelling accepts both operand orders when a method updates declared `TEXT` fields:
```claro
TEACH full_name TAKES suffix
SET first first + suffix
SET last "Dr. " + last
LEARNED
```
The focused validation matrix covers this compatibility example too, keeping modern and older method lessons aligned.
Two TEXT fields can be combined as well:
```claro