Repository navigation
Commit 765810f
committed
fix: NodeAdapter carries the system code into Document#name
The adapter read isc_doc[:system_code] but DocumentBuilder emits
:systemCode — every ISC-parsed document got name: nil, and the Ruby
compiler (which registers compiled maps under Document#name) compiled
every ISC map under the empty string. Transliterate then crashed with
'undefined method call for nil' — the same crash the detector's
full-corpus walk hit. Interp-vs-compiled divergence on
iso-mal-Mlym-Latn-15919-2001 is also gone for the direct paths; the
remaining sweep failures there are a separate codegen bug (an object
inspect-string interpolated into a lookahead character class).1 parent 4923e8e commit 765810f
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
0 commit comments