Wrap a built-in with durations in %CHAR when the target is character #736

Manually merged
binjovi-bot merged 2 commits from lr2-char-dur into trunk 2026-11-05 17:41:01 +00:00
Owner

Wrap a built-in with durations in %CHAR when the target is character

c = %DATE() + %DAYS(30) + %MONTHS(9); into a char(10) field failed to compile with RNF7416. A character target now gets the whole expression in %CHAR(...), for %DATE(), %TIME() and %TIMESTAMP() with any durations.

  • Probes lr2-cd-date-days-months (the fix), lr2-cd-ctl-date and lr2-cd-ctl-ts (controls that keep matching).

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"regenerated","emit":{"worse":[],"better":0,"newly_clean":11,"clean_delta":11,"base":359,"new":370},"twins":{"groups":533,"recovered":525,"regressions":[],"newly":14},"allgroups":{"regressions":[],"newly":[],"worse":[]},"full_check":{"exit":0,"seconds":849}}
# Wrap a built-in with durations in %CHAR when the target is character `c = %DATE() + %DAYS(30) + %MONTHS(9);` into a `char(10)` field failed to compile with RNF7416. A character target now gets the whole expression in `%CHAR(...)`, for `%DATE()`, `%TIME()` and `%TIMESTAMP()` with any durations. - Probes `lr2-cd-date-days-months` (the fix), `lr2-cd-ctl-date` and `lr2-cd-ctl-ts` (controls that keep matching). ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"regenerated","emit":{"worse":[],"better":0,"newly_clean":11,"clean_delta":11,"base":359,"new":370},"twins":{"groups":533,"recovered":525,"regressions":[],"newly":14},"allgroups":{"regressions":[],"newly":[],"worse":[]},"full_check":{"exit":0,"seconds":849}} ```
binjovi-bot manually merged commit 3bfc8f90c7 into trunk 2026-11-05 17:41:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!736
No description provided.