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


Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #3 from Kenji Hara <[email protected]> 2013-04-24 00:34:19 PDT ---
(In reply to comment #2)
> The error gives the correct type now:
> ---
> main.d(12): Error: template std.array.front does not match any function
> template declaration. Candidates are:
> <phobos path>\std\array.d(584):        std.array.front(T)(T[] a) if
> (!isNarrowString!(T[]) && !is(T[] == void[]))
> <phobos path>\std\array.d(605):        std.array.front(T)(T[] a) if
> (isNarrowString!(T[]))
> <phobos path>\std\array.d(584): Error: template std.array.front cannot deduce
> template function from argument types !()(ubyte[]*)
> main.d(21): Error: template instance main.S!(ubyte[]) error instantiating
> main.d(22): Error: not a property s.front
> ---

In 2.063a, error message with UFCS issues are got fixed. So I'll close this.

Currently automatic pointer dereference is not supported in UFCS name look up.
For the issue, I'll mark issue 8597 as enhancement.

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

Reply via email to