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


Lars T. Kyllingstad <bugzi...@kyllingen.net> changed:

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


--- Comment #2 from Lars T. Kyllingstad <bugzi...@kyllingen.net> 2010-11-05 
05:18:35 PDT ---
This fixes the Phobos bug:
http://www.dsource.org/projects/phobos/changeset/2123

The error message is now:
test.d(6): Error: template std.array.front(A) if (is(typeof(A[0])) &&
!isNarrowString!(A) && !is(typeof(A[0]) : const(void))) does not match any
function template declaration
test.d(6): Error: template std.array.front(A) if (is(typeof(A[0])) &&
!isNarrowString!(A) && !is(typeof(A[0]) : const(void))) cannot deduce template
function from argument types !()(void[])

Arguably less readable, but more useful since it refers to the point of error
in user code instead of in Phobos code.

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

Reply via email to