https://issues.dlang.org/show_bug.cgi?id=12757

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |4703
           Severity|normal                      |enhancement

--- Comment #5 from [email protected] ---
(In reply to yebblies from comment #4)

> If this was implemented, this call would become ambiguous.
> 
> void foo(int[1]) {}
> void foo(int[int]) {}
> 
> void main()
> {
>     foo([0 : 1]);
> }

Right. And adding more ambiguous code to D is not a good idea.

Walter doesn't seem in a rush to find a fix for my Issue 4703 that is almost
four years old. If some kind of fix for issue 4703 is ever found and accepted,
then this enhancement request becomes acceptable.

So I tag this as enhancement request that depends on Issue 4703 .

--

Reply via email to