http://d.puremagic.com/issues/show_bug.cgi?id=8143



--- Comment #7 from bearophile_h...@eml.cc 2012-10-24 10:26:36 PDT ---
(In reply to comment #5)
> Ok here's a first implementation, let me know if it can be improved before a
> pull request is made (the docs will be improved too):

One more test case:

En[][] m1 = to!(En[][])([[10, 30], [30, 10]]);


Have you compiled your code with "-property -w"?

I am seeing some errors:

...\dmd2\src\phobos\std\traits.d(221): Error: not a property test
...\dmd2\src\phobos\std\traits.d(225): Error: not a property test
...\dmd2\src\phobos\std\traits.d(229): Error: not a property test
...\dmd2\src\phobos\std\traits.d(234): Error: not a property test
...\dmd2\src\phobos\std\traits.d(231): Error: template instance
std.traits.fullyQualifiedName!(test) error instantiating
test.d(27):        instantiated from here: fullyQualifiedName!(En)
test.d(76):        instantiated from here: toImpl!(En,int)
test.d(27): Error: template instance std.traits.fullyQualifiedName!(En) error
instantiating
test.d(76):        instantiated from here: toImpl!(En,int)
test.d(26): Error: constructor std.conv.ConvException.this (string s, string fn
= __FILE__, uint ln = cast(uint)__LINE__) is not callable using argument types
(_error_)
test.d(26): Error: constructor std.conv.ConvException.this (string s, string fn
= __FILE__, uint ln = cast(uint)__LINE__) is not callable using argument types
(_error_)
test.d(26): Error: constructor std.conv.ConvException.this (string s, string fn
= __FILE__, uint ln = cast(uint)__LINE__) is not callable using argument types
(_error_)
test.d(26): Error: constructor std.conv.ConvException.this (string s, string fn
= __FILE__, uint ln = cast(uint)__LINE__) is not callable using argument types
(_error_)
test.d(32): Error: constructor std.conv.ConvException.this (string s, string fn
= __FILE__, uint ln = cast(uint)__LINE__) is not callable using argument types
(_error_)
test.d(76): Error: template instance test.toImpl!(En,int) error instantiating

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to