Repository navigation
Commit a8cec8b
committed
fix(print): D-433 — str/pr split for exception values (Throwable.toString parity)
Smell-audited: 1: verified clj println/print of a Throwable ALSO emit the
#error data literal (print-method Throwable), so only writeStrValue gained
the .ex_info arm — print/println deliberately untouched (no new divergence).
`(str ex)` / `(.toString ex)` now render the readable Throwable.toString
one-liner `<class>: <message>` (AD-003 simple name; clj prints the FQCN);
a real ex-info appends the data map matching clj ExceptionInfo.toString
("ExceptionInfo: boom {:a 1}"). pr/pr-str/prn + print/println keep the
#error{...} data literal. Stack trace stays out of scope per AD-007.
e2e phase14_exception_ctor (6 new cases). D-433 discharged (easiest-first
drain; the 2026-06-25 no-perpetual-defer decision).1 parent b804e6c commit a8cec8b
3 files changed
Lines changed: 35 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 702 | | |
708 | 703 | | |
709 | 704 | | |
| |||
6571 | 6566 | | |
6572 | 6567 | | |
6573 | 6568 | | |
| 6569 | + | |
| 6570 | + | |
| 6571 | + | |
| 6572 | + | |
| 6573 | + | |
| 6574 | + | |
6574 | 6575 | | |
6575 | 6576 | | |
6576 | 6577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
139 | 157 | | |
140 | 158 | | |
141 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
70 | 81 | | |
0 commit comments