Commit 2e01b5c
committed
Fix FixedSizeList type silently losing size and Map todo panic
FixedSizeList was being converted to a regular List, discarding the size
parameter. Now correctly maps to DefinedType::FixedSizeList preserving
both the element type and size.
Also replaced the todo!() panic for ComponentDefinedType::Map with a
proper error, since encountering Map types at runtime should not crash.1 parent e1e684a commit 2e01b5c
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
| 757 | + | |
758 | 758 | | |
759 | | - | |
| 759 | + | |
760 | 760 | | |
761 | 761 | | |
762 | | - | |
| 762 | + | |
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
| |||
0 commit comments