Repository navigation
Commit 138892f
committed
fix: wrap ISC alias definitions in AliasDef; harden the normalizer on raw leaves
Two more ISC-only breaks, both invisible on .imp installs:
- NodeAdapter stored alias values as bare items. The interpreter
resolves aliases through AliasDef#data and feeds it to
Item.try_convert — a bare Any hands it Any#data, an Array, and every
library-dependent map dies with 'Wrong type Array' the moment
locate() resolves a library to libs/*.isc instead of a legacy .iml.
- Normalizer#normalize_meta_field assumed Hash entries; empty metadata
blocks carry a bare Parslet::Slice. scalar() also learns the {raw:
} string form the grammar emits for some metadata fields.1 parent ddc05c0 commit 138892f
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
0 commit comments