← Back to index
|
Original Bugzilla link
Bug 9431 – Tuple creation problem with array of array
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-01-31T02:13:00Z
Last change time
2013-04-13T10:24:06Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Depends on
9885
Comments
Comment #0
by bearophile_hugs — 2013-01-31T02:13:56Z
import std.typecons: Tuple; void main() { alias T = Tuple!(int[1][]); auto t = T([[10]]); } DMD 2.062alpha: ...\dmd2\src\phobos\std\typecons.d(405): Error: cannot implicitly convert expression (_param_0) of type int[][] to int[1u][] test.d(4): Error: template instance std.typecons.Tuple!(int[1u][]).Tuple.__ctor!(int[][]) error instantiating
Comment #1
by k.hara.pg — 2013-04-05T11:28:36Z
https://github.com/D-Programming-Language/phobos/pull/1243
Comment #2
by github-bugzilla — 2013-04-13T10:23:56Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/b80cbad1cc11ca93375076568cbd07c9f3de0697
fix Issue 9431 - Tuple creation problem with array of array
https://github.com/D-Programming-Language/phobos/commit/80f80b7cdfe8e7bea9c93bcd8c4d59aaf234b104
Merge pull request #1243 from 9rnsr/fix9431 Issue 9431 - Tuple creation problem with array of array