EmbarkStudios / mirror-mirror

🪞 Powerful reflection library for Rust
Apache License 2.0
79 stars 2 forks source link

Fix list array vs list discrepancies #142

Closed davidpdrsn closed 5 months ago

davidpdrsn commented 5 months ago

Checklist

Description of Changes

This fixes a few issues with arrays that I discovered:

Basically lists are a subtype of arrays so if something is a list then its also an array, i.e. as_array should work on a &dyn List.