[Issue 16357] cast(T[])[x] casts x to T instead of [x] to T[]
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 8 10:32:35 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=16357
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dlang.org pull request #3701 "[spec] Array literal can implicitly convert
to an expected type" was merged into master:
- 4e8db30f0bf3c330c3431e83fe8a75f843b40857 by Nick Treleaven:
Show overflow in example
Fix Issue 16357 - cast(T[])[x] casts x to T instead of [x] to T[].
https://github.com/dlang/dlang.org/pull/3701
--
More information about the Digitalmars-d-bugs
mailing list