On Friday, 29 May 2015 at 22:41:13 UTC, Martin Nowak wrote:
2. What issues disallows us to implement full library AA?
Except .stringof, .mangleof, and other compiler magic.
I see only two issues: opIndexCreate and building aa from
literals.

- error messages
- attributes
- literals (especially polysemous initializers, i.e.
ubyte[ubyte] aa = [0:1, 1:2])
- implicit tail const conversion Val[Key] -> const(Val)[Key]
- lots of magic around making Key const
- delete aa[key]
- lots of other small details (grep for Taarray in
src/expression.c)

This is a heavily used built-in type, we can't risk a rewrite that breaks lots of code.

Not sure how much this is a problem but implicit conversion from null may also be an issue: http://localhost/post/[email protected]

Reply via email to